Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.467/2.467, allocations: 284.9 MB / 292.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001543, allocations: 188.8 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.177/2.177, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 89.62 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.386e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.809/0.8091, allocations: 115.3 MB / 0.9634 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3314/1.141, allocations: 206.1 MB / 1.165 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/1.141, allocations: 93.25 kB / 1.165 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.3421/1.483, allocations: 83.87 MB / 1.247 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.214e-06/1.483, allocations: 0 / 1.247 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001665/1.483, allocations: 39.94 kB / 1.247 GB, free: 9.59 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005932/1.489, allocations: 1.587 MB / 1.248 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/1.489, allocations: 8.031 kB / 1.248 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02014/1.51, allocations: 1.878 MB / 1.25 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005021/1.515, allocations: 1.22 MB / 1.251 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.024e-05/1.515, allocations: 40 kB / 1.251 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007073/1.516, allocations: 67.91 kB / 1.251 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00591/1.521, allocations: 1.699 MB / 1.253 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00741/1.529, allocations: 2.061 MB / 1.255 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.763e-05/1.529, allocations: 7.938 kB / 1.255 GB, free: 0.7266 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002814/1.529, allocations: 11.95 kB / 1.255 GB, free: 0.7148 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/1.53, allocations: 78.3 kB / 1.255 GB, free: 0.6367 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6671/2.197, allocations: 10.43 MB / 1.265 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005351/2.202, allocations: 1.658 MB / 1.267 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003529/2.206, allocations: 0.8783 MB / 1.268 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/2.206, allocations: 11.2 kB / 1.268 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/2.206, allocations: 44.34 kB / 1.268 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 8.967e-06/2.206, allocations: 2.469 kB / 1.268 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.0271/2.233, allocations: 5.718 MB / 1.274 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/2.233, allocations: 224.3 kB / 1.274 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/2.235, allocations: 0.7611 MB / 1.274 GB, free: 205 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004716/2.236, allocations: 31.45 kB / 1.275 GB, free: 205 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007529/2.237, allocations: 0.7076 MB / 1.275 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008787/2.238, allocations: 436.4 kB / 1.276 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/2.238, allocations: 0 / 1.276 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001511/2.238, allocations: 359.8 kB / 1.276 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/2.241, allocations: 0.9285 MB / 1.277 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002671/2.243, allocations: 1.191 MB / 1.278 GB, free: 203.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/2.247, allocations: 1.073 MB / 1.279 GB, free: 203.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.94e-05/2.247, allocations: 1.094 kB / 1.279 GB, free: 203.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.01491/2.262, allocations: 3.613 MB / 1.283 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/2.262, allocations: 14.38 kB / 1.283 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/2.262, allocations: 5.781 kB / 1.283 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0114/2.273, allocations: 1.571 MB / 1.284 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004078/2.277, allocations: 442 kB / 1.285 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03639/2.314, allocations: 23.89 MB / 1.308 GB, free: 185.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004732/2.318, allocations: 298.9 kB / 1.308 GB, free: 185.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003652/2.319, allocations: 56.98 kB / 1.308 GB, free: 185.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005064/2.319, allocations: 141.4 kB / 1.308 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01385/2.333, allocations: 3.416 MB / 1.312 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008982/2.334, allocations: 146.9 kB / 1.312 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01497/2.349, allocations: 3.671 MB / 1.315 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.2e-05/2.349, allocations: 12.88 kB / 1.315 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.585e-05/2.349, allocations: 15.09 kB / 1.315 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.724e-05/2.349, allocations: 6.047 kB / 1.315 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02291/2.372, allocations: 5.942 MB / 1.321 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.739e-05/2.372, allocations: 3.828 kB / 1.321 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00372/2.376, allocations: 392.8 kB / 1.322 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01056/2.387, allocations: 1.479 MB / 1.323 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003891/2.387, allocations: 16.31 kB / 1.323 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03147/2.419, allocations: 22.92 MB / 1.346 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-06/2.419, allocations: 0 / 1.346 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/2.431, allocations: 3.616 MB / 1.349 GB, free: 159.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/2.433, allocations: 456.1 kB / 1.349 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004841/2.433, allocations: 6.312 kB / 1.349 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004144/2.438, allocations: 301.3 kB / 1.35 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006615/2.438, allocations: 131.9 kB / 1.35 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002466/2.439, allocations: 51.8 kB / 1.35 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001141/2.44, allocations: 0.5797 MB / 1.351 GB, free: 159.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.51e-07/2.44, allocations: 0 / 1.351 GB, free: 159.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003497/2.443, allocations: 0.5457 MB / 1.351 GB, free: 159.3 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01269/2.456, allocations: 4.932 MB / 1.356 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01038/2.466, allocations: 4.151 MB / 1.36 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/2.466, allocations: 7.844 kB / 1.36 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.007581/2.474, allocations: 2.993 MB / 1.363 GB, free: 152.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/2.478, allocations: 427 kB / 1.363 GB, free: 152 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/2.489, allocations: 3.13 MB / 1.366 GB, free: 150.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/2.49, allocations: 1.508 MB / 1.368 GB, free: 150 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002979/2.493, allocations: 406.5 kB / 1.368 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/2.495, allocations: 0.6156 MB / 1.369 GB, free: 149.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.533e-06/2.495, allocations: 192 / 1.369 GB, free: 149.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1264/2.621, allocations: 46.87 MB / 1.415 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/2.622, allocations: 161.5 kB / 1.415 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.226/6.848, allocations: 0 / 1.415 GB, free: 125.1 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)