Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001187, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001341/0.001341, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.927/1.927, allocations: 205.4 MB / 222.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.746/1.746, allocations: 251.9 MB / 0.51 GB, free: 4.922 MB / 414.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.0006321/0.0006323, allocations: 23.98 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6307/0.6313, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008493/0.6399, allocations: 5.717 MB / 0.7336 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006219/0.6461, allocations: 2.902 MB / 0.7364 GB, free: 2.793 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.6474, allocations: 27.81 kB / 0.7364 GB, free: 2.766 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006555/0.6481, allocations: 115.2 kB / 0.7365 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.6498, allocations: 422.7 kB / 0.7369 GB, free: 2.238 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.6512, allocations: 324 kB / 0.7372 GB, free: 1.922 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001972/0.6532, allocations: 0.735 MB / 0.738 GB, free: 1.188 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002239/0.6554, allocations: 0.9311 MB / 0.7389 GB, free: 240 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.6565, allocations: 354.7 kB / 0.7392 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.6577, allocations: 390.5 kB / 0.7396 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002658/0.658, allocations: 32 kB / 0.7396 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000781/0.6588, allocations: 151.8 kB / 0.7398 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004207/0.6592, allocations: 247.3 kB / 0.74 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004365/0.6597, allocations: 181.3 kB / 0.7402 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.6611, allocations: 0.8667 MB / 0.741 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6611, allocations: 0 / 0.741 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6612, allocations: 0 / 0.741 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.865e-05/0.6612, allocations: 0 / 0.741 GB, free: 14.03 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002229/0.6635, allocations: 0.9932 MB / 0.742 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.6635, allocations: 16.02 kB / 0.742 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.6651, allocations: 218.7 kB / 0.7422 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.6661, allocations: 0.521 MB / 0.7427 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/0.6662, allocations: 49.31 kB / 0.7428 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.6663, allocations: 63.97 kB / 0.7428 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.6679, allocations: 1.077 MB / 0.7439 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.6679, allocations: 7.938 kB / 0.7439 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.458e-05/0.668, allocations: 32 kB / 0.7439 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/0.6682, allocations: 85.25 kB / 0.744 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.6694, allocations: 0.7503 MB / 0.7447 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006882/0.6763, allocations: 5.897 MB / 0.7505 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.6774, allocations: 0.549 MB / 0.751 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.6774, allocations: 8.422 kB / 0.751 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.6775, allocations: 39 kB / 0.7511 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 1.853e-06/0.6775, allocations: 0 / 0.7511 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.004191/0.6817, allocations: 1.98 MB / 0.753 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.6817, allocations: 55.84 kB / 0.7531 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007723/0.6825, allocations: 0.5546 MB / 0.7536 GB, free: 388 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.6826, allocations: 33.7 kB / 0.7536 GB, free: 348 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/0.6829, allocations: 418.9 kB / 0.754 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.6832, allocations: 165.6 kB / 0.7542 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.6832, allocations: 16 kB / 0.7542 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002376/0.6835, allocations: 378.7 kB / 0.7546 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.684, allocations: 273.8 kB / 0.7548 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/0.6846, allocations: 492.9 kB / 0.7553 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/0.6852, allocations: 346 kB / 0.7556 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6852, allocations: 0 / 0.7556 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001879/0.6871, allocations: 1.082 MB / 0.7567 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.6871, allocations: 8.875 kB / 0.7567 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.6871, allocations: 4 kB / 0.7567 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009341/0.6881, allocations: 287.1 kB / 0.757 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/0.6886, allocations: 123.8 kB / 0.7571 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007261/0.6958, allocations: 6.693 MB / 0.7636 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006364/0.6965, allocations: 43.95 kB / 0.7637 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/0.6966, allocations: 24 kB / 0.7637 GB, free: 5.355 MB / 0.5762 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 (67): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005917/0.6972, allocations: 257.6 kB / 0.7639 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.6974, allocations: 71.34 kB / 0.764 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.6993, allocations: 0.8924 MB / 0.7649 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.6993, allocations: 4 kB / 0.7649 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.6993, allocations: 4 kB / 0.7649 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.6994, allocations: 7.984 kB / 0.7649 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/0.7024, allocations: 1.713 MB / 0.7666 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.7024, allocations: 4.312 kB / 0.7666 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.7027, allocations: 59.91 kB / 0.7666 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008989/0.7036, allocations: 271.3 kB / 0.7669 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.878e-05/0.7037, allocations: 11.98 kB / 0.7669 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00729/0.7109, allocations: 6.682 MB / 0.7734 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.711, allocations: 4.031 kB / 0.7734 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.713, allocations: 1.052 MB / 0.7744 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/0.7135, allocations: 200.2 kB / 0.7746 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.7137, allocations: 11.98 kB / 0.7746 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.7141, allocations: 39.86 kB / 0.7747 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.7143, allocations: 35.95 kB / 0.7747 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.7143, allocations: 19.98 kB / 0.7747 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000541/0.7148, allocations: 375.1 kB / 0.7751 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7149, allocations: 0 / 0.7751 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009344/0.7158, allocations: 232 kB / 0.7753 GB, free: 8.684 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001824/0.716, allocations: 111.2 kB / 0.7754 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00246/0.7185, allocations: 1.268 MB / 0.7767 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.7185, allocations: 0 / 0.7767 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.7198, allocations: 0.9052 MB / 0.7775 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.7209, allocations: 189.5 kB / 0.7777 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.7238, allocations: 1.573 MB / 0.7793 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008996/0.7247, allocations: 1.028 MB / 0.7803 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005371/0.7253, allocations: 126 kB / 0.7804 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.7254, allocations: 39.44 kB / 0.7804 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of SimCode: time 1.112e-06/0.7254, allocations: 3.938 kB / 0.7804 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of Templates: time 0.02084/0.7462, allocations: 10.26 MB / 0.7904 GB, free: 9.113 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: