Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008662/0.0008663, allocations: 91.84 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004822/0.004822, allocations: 169.8 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.181/1.181, allocations: 205.4 MB / 222.5 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.531/1.531, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004524, allocations: 15.31 kB / 0.6744 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1667, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009798/0.1765, allocations: 10.29 MB / 0.7981 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009733/0.1863, allocations: 8.736 MB / 0.8066 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004286/0.1867, allocations: 47.69 kB / 0.8066 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005437/0.1873, allocations: 293.8 kB / 0.8069 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.1896, allocations: 1.391 MB / 0.8083 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.1907, allocations: 0.6189 MB / 0.8089 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002177/0.1928, allocations: 2.902 MB / 0.8117 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002608/0.1955, allocations: 1.954 MB / 0.8136 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008371/0.1963, allocations: 0.8206 MB / 0.8144 GB, free: 296 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009568/0.1973, allocations: 0.953 MB / 0.8154 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.1974, allocations: 60 kB / 0.8154 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.1985, allocations: 0.8772 MB / 0.8163 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003616/0.1989, allocations: 482.4 kB / 0.8167 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005933/0.1995, allocations: 0.8057 MB / 0.8175 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.2013, allocations: 2.487 MB / 0.8199 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2013, allocations: 0 / 0.8199 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2014, allocations: 4 kB / 0.8199 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.2014, allocations: 4 kB / 0.8199 GB, free: 10.6 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002285/0.2037, allocations: 1.714 MB / 0.8216 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2037, allocations: 8.031 kB / 0.8216 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001938/0.2039, allocations: 194.1 kB / 0.8218 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/0.2145, allocations: 2.109 MB / 0.8239 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.2161, allocations: 1.122 MB / 0.825 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.482e-05/0.2161, allocations: 90.69 kB / 0.8251 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.2163, allocations: 123.9 kB / 0.8252 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004834/0.2212, allocations: 2.498 MB / 0.8276 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/0.2212, allocations: 7.938 kB / 0.8276 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.2214, allocations: 51.98 kB / 0.8277 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003129/0.2217, allocations: 130.1 kB / 0.8278 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006825/0.2285, allocations: 2.592 MB / 0.8303 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01092/0.2395, allocations: 10.12 MB / 0.8402 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005934/0.2454, allocations: 1.995 MB / 0.8422 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002662/0.2481, allocations: 0.9933 MB / 0.8431 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.2481, allocations: 12.42 kB / 0.8431 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.2482, allocations: 35 kB / 0.8432 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 1.844e-06/0.2482, allocations: 4 kB / 0.8432 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.02901/0.2772, allocations: 8.777 MB / 0.8517 GB, free: 8.988 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.2772, allocations: 64 kB / 0.8518 GB, free: 8.91 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.2783, allocations: 1.101 MB / 0.8529 GB, free: 7.793 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.312e-05/0.2784, allocations: 37.7 kB / 0.8529 GB, free: 7.75 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/0.2789, allocations: 0.7341 MB / 0.8536 GB, free: 7.008 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.2791, allocations: 287.9 kB / 0.8539 GB, free: 6.723 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.2793, allocations: 73.69 kB / 0.854 GB, free: 6.645 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2794, allocations: 345.9 kB / 0.8543 GB, free: 6.301 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002834/0.2822, allocations: 1.091 MB / 0.8554 GB, free: 5.211 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002918/0.2851, allocations: 1.329 MB / 0.8567 GB, free: 3.781 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005709/0.2909, allocations: 2.421 MB / 0.859 GB, free: 1.27 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2909, allocations: 0 / 0.859 GB, free: 1.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008094/0.299, allocations: 3.316 MB / 0.8623 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.299, allocations: 8 kB / 0.8623 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.299, allocations: 8.062 kB / 0.8623 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002468/0.3015, allocations: 0.7949 MB / 0.8631 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.3033, allocations: 427.2 kB / 0.8635 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/0.3163, allocations: 14.72 MB / 0.8778 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.3183, allocations: 299.5 kB / 0.8781 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.3184, allocations: 56.02 kB / 0.8782 GB, free: 12.53 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000578/0.319, allocations: 400.2 kB / 0.8786 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.3192, allocations: 146.2 kB / 0.8787 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008379/0.3276, allocations: 3.249 MB / 0.8819 GB, free: 8.699 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3276, allocations: 8 kB / 0.8819 GB, free: 8.691 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.3276, allocations: 11.98 kB / 0.8819 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.3276, allocations: 3.984 kB / 0.8819 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.3377, allocations: 4.944 MB / 0.8867 GB, free: 3.602 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3377, allocations: 12 kB / 0.8867 GB, free: 3.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.3393, allocations: 363.3 kB / 0.8871 GB, free: 3.234 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00212/0.3414, allocations: 0.6936 MB / 0.8878 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.948e-05/0.3415, allocations: 31.97 kB / 0.8878 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/0.3539, allocations: 14.33 MB / 0.9018 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.3539, allocations: 7.969 kB / 0.9018 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007486/0.3614, allocations: 3.085 MB / 0.9048 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004933/0.3619, allocations: 387.1 kB / 0.9052 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.3621, allocations: 20 kB / 0.9052 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00178/0.3639, allocations: 299.5 kB / 0.9055 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.364, allocations: 80.48 kB / 0.9056 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-05/0.3641, allocations: 39.97 kB / 0.9056 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008119/0.3649, allocations: 0.7404 MB / 0.9063 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3649, allocations: 0 / 0.9063 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001107/0.3661, allocations: 436 kB / 0.9067 GB, free: 13.92 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00786/0.3739, allocations: 3.659 MB / 0.9103 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007709/0.3816, allocations: 3.664 MB / 0.9139 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.3817, allocations: 0 / 0.9139 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004501/0.3862, allocations: 2.387 MB / 0.9162 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.3885, allocations: 495.7 kB / 0.9167 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3128/0.7013, allocations: 17.26 MB / 0.9336 GB, free: 123.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008822/0.7022, allocations: 1.384 MB / 0.9349 GB, free: 122.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001407/0.7037, allocations: 378.2 kB / 0.9353 GB, free: 122.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006651/0.7043, allocations: 0.5975 MB / 0.9358 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.7043, allocations: 0 / 0.9358 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.952/4.656, allocations: 39.56 MB / 0.9745 GB, free: 101.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/4.656, allocations: 222.2 kB / 0.9747 GB, free: 101 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/6.949, allocations: 0 / 0.9747 GB, free: 101 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)