Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.614/1.614, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009354/0.0009354, allocations: 191.3 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007457/0.0007457, allocations: 97.22 kB / 0.7808 GB, free: 43.71 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003896, allocations: 13.03 kB / 0.9088 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4938/0.4942, allocations: 120.3 MB / 1.026 GB, free: 56.96 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1928/0.6871, allocations: 183.5 MB / 1.205 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.6874, allocations: 105.4 kB / 1.206 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.1943/0.8817, allocations: 83.69 MB / 1.287 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8818, allocations: 4 kB / 1.287 GB, free: 1.988 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001414/0.8819, allocations: 35.94 kB / 1.287 GB, free: 1.953 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004041/0.886, allocations: 1.753 MB / 1.289 GB, free: 148 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.886, allocations: 8.031 kB / 1.289 GB, free: 140 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009415/0.8954, allocations: 1.814 MB / 1.291 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/0.8984, allocations: 1.191 MB / 1.292 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.487e-05/0.8985, allocations: 86.31 kB / 1.292 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004415/0.899, allocations: 119.9 kB / 1.292 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005561/0.9045, allocations: 2.552 MB / 1.295 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.444e-05/0.9046, allocations: 11.84 kB / 1.295 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.9048, allocations: 55.98 kB / 1.295 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.679e-05/0.9049, allocations: 74.2 kB / 1.295 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006581/0.9115, allocations: 2.592 MB / 1.297 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/0.9243, allocations: 10.2 MB / 1.307 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005326/0.9296, allocations: 2.011 MB / 1.309 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00239/0.932, allocations: 0.9933 MB / 1.31 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-05/0.9321, allocations: 8.375 kB / 1.31 GB, free: 9.48 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/0.9322, allocations: 39 kB / 1.31 GB, free: 9.434 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=53): time 3.376e-06/0.9322, allocations: 4 kB / 1.31 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81): time 0.02807/0.9603, allocations: 9.229 MB / 1.319 GB, free: 140 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4102/1.37, allocations: 218.9 kB / 1.32 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/1.372, allocations: 1.094 MB / 1.321 GB, free: 185.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002082/1.373, allocations: 40.23 kB / 1.321 GB, free: 185.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004701/1.373, allocations: 0.7274 MB / 1.321 GB, free: 185.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/1.373, allocations: 283.9 kB / 1.322 GB, free: 185.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.115e-05/1.373, allocations: 16.03 kB / 1.322 GB, free: 185.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.062e-05/1.373, allocations: 342.8 kB / 1.322 GB, free: 185 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002905/1.376, allocations: 1.099 MB / 1.323 GB, free: 185 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003001/1.379, allocations: 1.344 MB / 1.324 GB, free: 184.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005401/1.385, allocations: 2.408 MB / 1.327 GB, free: 184.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/1.385, allocations: 1.938 kB / 1.327 GB, free: 184.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.008191/1.393, allocations: 3.318 MB / 1.33 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/1.393, allocations: 9.156 kB / 1.33 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/1.393, allocations: 9.969 kB / 1.33 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002773/1.396, allocations: 0.858 MB / 1.331 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/1.398, allocations: 424.6 kB / 1.331 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/1.41, allocations: 14.9 MB / 1.346 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/1.412, allocations: 313.6 kB / 1.346 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002133/1.413, allocations: 51.11 kB / 1.346 GB, free: 174.2 MB / 0.8855 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001015/1.414, allocations: 397 kB / 1.346 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/1.414, allocations: 143.3 kB / 1.347 GB, free: 174 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007759/1.422, allocations: 3.274 MB / 1.35 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/1.422, allocations: 10.62 kB / 1.35 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.817e-05/1.422, allocations: 8.969 kB / 1.35 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/1.422, allocations: 8.156 kB / 1.35 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/1.432, allocations: 5.038 MB / 1.355 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.432, allocations: 0 / 1.355 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/1.433, allocations: 370.3 kB / 1.355 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002405/1.436, allocations: 0.7701 MB / 1.356 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.222e-05/1.436, allocations: 31.34 kB / 1.356 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/1.447, allocations: 14.52 MB / 1.37 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.447, allocations: 7 kB / 1.37 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007009/1.454, allocations: 3.135 MB / 1.373 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000759/1.455, allocations: 392.7 kB / 1.374 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003144/1.455, allocations: 17.72 kB / 1.374 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/1.457, allocations: 305.5 kB / 1.374 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/1.457, allocations: 83.09 kB / 1.374 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.563e-05/1.457, allocations: 38.31 kB / 1.374 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001016/1.458, allocations: 0.7422 MB / 1.375 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/1.458, allocations: 0 / 1.375 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001605/1.46, allocations: 462.5 kB / 1.375 GB, free: 159.7 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003275/1.46, allocations: 149.8 kB / 1.375 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006823/1.467, allocations: 3.683 MB / 1.379 GB, free: 158 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.467, allocations: 6.188 kB / 1.379 GB, free: 158 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003863/1.471, allocations: 2.398 MB / 1.381 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/1.474, allocations: 481 kB / 1.382 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007794/1.481, allocations: 4.272 MB / 1.386 GB, free: 154.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/1.483, allocations: 1.383 MB / 1.387 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00193/1.485, allocations: 379.3 kB / 1.388 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/1.485, allocations: 109 kB / 1.388 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of SimCode: time 9.82e-07/1.485, allocations: 0 / 1.388 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.05673/1.542, allocations: 29.54 MB / 1.416 GB, free: 152.6 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)