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.0009745/0.0009745, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001075/0.001075, allocations: 168.7 kB / 15.95 MB, free: 204 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.733/1.733, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.74/1.74, allocations: 252 MB / 0.5102 GB, free: 4.801 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.000577/0.0005772, allocations: 15.44 kB / 0.6243 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5471/0.5477, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00639/0.5541, allocations: 5.962 MB / 0.734 GB, free: 5.414 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004094/0.5583, allocations: 2.905 MB / 0.7368 GB, free: 2.496 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003777/0.5587, allocations: 23.81 kB / 0.7368 GB, free: 2.473 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.5591, allocations: 134.8 kB / 0.7369 GB, free: 2.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008576/0.5599, allocations: 409.7 kB / 0.7373 GB, free: 1.938 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007861/0.5607, allocations: 318.2 kB / 0.7376 GB, free: 1.629 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0013/0.562, allocations: 1.322 MB / 0.7389 GB, free: 312 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/0.5637, allocations: 0.9287 MB / 0.7398 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006373/0.5643, allocations: 390.4 kB / 0.7402 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006448/0.565, allocations: 486.2 kB / 0.7407 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.005e-05/0.5651, allocations: 36 kB / 0.7407 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004855/0.5656, allocations: 195.8 kB / 0.7409 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002738/0.5659, allocations: 271.2 kB / 0.7412 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.566, allocations: 177.3 kB / 0.7413 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000816/0.5669, allocations: 0.8902 MB / 0.7422 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5669, allocations: 4 kB / 0.7422 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5669, allocations: 0 / 0.7422 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.5669, allocations: 0 / 0.7422 GB, free: 12.93 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.001603/0.5685, allocations: 1.02 MB / 0.7432 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.5686, allocations: 12.03 kB / 0.7432 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.57, allocations: 234.6 kB / 0.7434 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008207/0.5709, allocations: 0.5288 MB / 0.7439 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.5709, allocations: 45.3 kB / 0.744 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.5711, allocations: 71.86 kB / 0.7441 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.5726, allocations: 1.077 MB / 0.7451 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.5726, allocations: 3.938 kB / 0.7451 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.655e-05/0.5727, allocations: 35.98 kB / 0.7451 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.5728, allocations: 85.25 kB / 0.7452 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.5739, allocations: 0.7503 MB / 0.746 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005131/0.579, allocations: 5.89 MB / 0.7517 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000917/0.58, allocations: 0.5529 MB / 0.7523 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/0.5804, allocations: 322 kB / 0.7526 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.5805, allocations: 4.438 kB / 0.7526 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.5805, allocations: 42.94 kB / 0.7526 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 3.697e-06/0.5805, allocations: 4 kB / 0.7526 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.003444/0.5839, allocations: 1.982 MB / 0.7545 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.584, allocations: 55.84 kB / 0.7546 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005807/0.5846, allocations: 0.5508 MB / 0.7551 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.5846, allocations: 37.7 kB / 0.7552 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.5849, allocations: 422.9 kB / 0.7556 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.585, allocations: 165.6 kB / 0.7557 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.5851, allocations: 12 kB / 0.7557 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.5852, allocations: 374.8 kB / 0.7561 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.5856, allocations: 277.8 kB / 0.7564 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/0.5861, allocations: 493 kB / 0.7568 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.5866, allocations: 342 kB / 0.7572 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5866, allocations: 4 kB / 0.7572 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001704/0.5883, allocations: 1.079 MB / 0.7582 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.5884, allocations: 8 kB / 0.7582 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.5884, allocations: 8 kB / 0.7582 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007976/0.5892, allocations: 271.6 kB / 0.7585 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/0.5896, allocations: 131.7 kB / 0.7586 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006018/0.5957, allocations: 6.599 MB / 0.7651 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/0.5963, allocations: 32.22 kB / 0.7651 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.5963, allocations: 40 kB / 0.7651 GB, free: 3.977 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.0003815/0.5967, allocations: 249.8 kB / 0.7654 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-05/0.5968, allocations: 75.09 kB / 0.7654 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.5984, allocations: 0.8885 MB / 0.7663 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5984, allocations: 4 kB / 0.7663 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5984, allocations: 4 kB / 0.7663 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.5984, allocations: 3.984 kB / 0.7663 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.6008, allocations: 1.717 MB / 0.768 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.6008, allocations: 11.89 kB / 0.768 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.6011, allocations: 64.08 kB / 0.7681 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006841/0.6018, allocations: 267.2 kB / 0.7683 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.6018, allocations: 12 kB / 0.7683 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005713/0.6076, allocations: 6.576 MB / 0.7748 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.6076, allocations: 4.031 kB / 0.7748 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.6091, allocations: 0.9834 MB / 0.7757 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.6094, allocations: 196.2 kB / 0.7759 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.494e-05/0.6094, allocations: 12 kB / 0.7759 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.6098, allocations: 31.92 kB / 0.776 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.084e-05/0.6099, allocations: 39.94 kB / 0.776 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.6099, allocations: 16.19 kB / 0.776 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004084/0.6103, allocations: 379.1 kB / 0.7764 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6103, allocations: 0 / 0.7764 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007686/0.6111, allocations: 224 kB / 0.7766 GB, free: 7.527 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.0001593/0.6113, allocations: 115.2 kB / 0.7767 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.6131, allocations: 1.268 MB / 0.7779 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6131, allocations: 0 / 0.7779 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.6143, allocations: 0.9013 MB / 0.7788 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009518/0.6153, allocations: 213.6 kB / 0.779 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.6173, allocations: 1.584 MB / 0.7806 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.6179, allocations: 1.005 MB / 0.7815 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003952/0.6183, allocations: 122 kB / 0.7817 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.6184, allocations: 39.44 kB / 0.7817 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of SimCode: time 4.7e-07/0.6184, allocations: 0 / 0.7817 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of Templates: time 0.01773/0.6361, allocations: 10.27 MB / 0.7917 GB, free: 7.953 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: