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_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008982/0.0008983, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009978/0.000998, allocations: 172.7 kB / 15.95 MB, free: 208 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.686/1.686, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.607/1.607, allocations: 252 MB / 0.5102 GB, free: 4.824 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.0005396/0.00054, allocations: 12 kB / 0.6243 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5968/0.5974, allocations: 106.3 MB / 0.7281 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006562/0.604, allocations: 5.37 MB / 0.7334 GB, free: 6.047 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005099/0.6092, allocations: 3.03 MB / 0.7363 GB, free: 3.004 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005975/0.6098, allocations: 23.81 kB / 0.7364 GB, free: 2.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004555/0.6103, allocations: 119 kB / 0.7365 GB, free: 2.863 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.6113, allocations: 382 kB / 0.7368 GB, free: 2.488 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.6124, allocations: 355.2 kB / 0.7372 GB, free: 2.141 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.6136, allocations: 1.201 MB / 0.7384 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.6152, allocations: 0.912 MB / 0.7392 GB, free: 4 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006505/0.6159, allocations: 350.6 kB / 0.7396 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000582/0.6165, allocations: 438.4 kB / 0.74 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.27e-05/0.6166, allocations: 32 kB / 0.74 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007356/0.6173, allocations: 259.5 kB / 0.7403 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000325/0.6177, allocations: 251.3 kB / 0.7405 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.6179, allocations: 161.3 kB / 0.7407 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.619, allocations: 0.8784 MB / 0.7415 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.619, allocations: 0 / 0.7415 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6191, allocations: 0 / 0.7415 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.6191, allocations: 0 / 0.7415 GB, free: 13.66 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001428/0.6205, allocations: 0.9193 MB / 0.7424 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.6206, allocations: 8.031 kB / 0.7424 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.622, allocations: 226.6 kB / 0.7426 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008527/0.6228, allocations: 0.5055 MB / 0.7431 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.6229, allocations: 45.3 kB / 0.7432 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.623, allocations: 75.88 kB / 0.7433 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.6245, allocations: 1.022 MB / 0.7443 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.573e-05/0.6245, allocations: 11.94 kB / 0.7443 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.096e-05/0.6246, allocations: 31.98 kB / 0.7443 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-05/0.6247, allocations: 69.27 kB / 0.7444 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.6257, allocations: 0.6879 MB / 0.745 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005096/0.6308, allocations: 5.756 MB / 0.7507 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008059/0.6317, allocations: 0.5943 MB / 0.7512 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006924/0.6324, allocations: 420.6 kB / 0.7516 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.6324, allocations: 8.625 kB / 0.7516 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.6325, allocations: 38.5 kB / 0.7517 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 1.923e-06/0.6325, allocations: 0 / 0.7517 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.00418/0.6366, allocations: 2.048 MB / 0.7537 GB, free: 432 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.6367, allocations: 59.39 kB / 0.7537 GB, free: 360 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.6372, allocations: 458.7 kB / 0.7542 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.6372, allocations: 29.7 kB / 0.7542 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.6375, allocations: 395 kB / 0.7546 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.6377, allocations: 149.9 kB / 0.7547 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.6377, allocations: 8 kB / 0.7547 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002655/0.638, allocations: 358.8 kB / 0.7551 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004274/0.6384, allocations: 245.2 kB / 0.7553 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/0.6389, allocations: 465 kB / 0.7557 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.6393, allocations: 303.8 kB / 0.756 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.6393, allocations: 4 kB / 0.756 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001811/0.6412, allocations: 1.058 MB / 0.7571 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.6412, allocations: 8 kB / 0.7571 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.6412, allocations: 11.98 kB / 0.7571 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000939/0.6422, allocations: 331.3 kB / 0.7574 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.6425, allocations: 99.81 kB / 0.7575 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007241/0.6497, allocations: 6.943 MB / 0.7643 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.6503, allocations: 36.02 kB / 0.7643 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.6503, allocations: 24 kB / 0.7643 GB, free: 4.793 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 (53): * Single equations (assignments): 49 * 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 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003889/0.6507, allocations: 245.6 kB / 0.7646 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.397e-05/0.6508, allocations: 59.25 kB / 0.7646 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.6524, allocations: 0.912 MB / 0.7655 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.6525, allocations: 4 kB / 0.7655 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.6525, allocations: 4 kB / 0.7655 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.6525, allocations: 16.06 kB / 0.7655 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/0.6551, allocations: 1.693 MB / 0.7672 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6551, allocations: 8.125 kB / 0.7672 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.6553, allocations: 39.97 kB / 0.7672 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008373/0.6561, allocations: 327.3 kB / 0.7676 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.6562, allocations: 15.95 kB / 0.7676 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007022/0.6632, allocations: 6.924 MB / 0.7743 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6632, allocations: 0 / 0.7743 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.6649, allocations: 1.007 MB / 0.7753 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/0.6653, allocations: 180.2 kB / 0.7755 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.693e-05/0.6654, allocations: 12 kB / 0.7755 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.6656, allocations: 19.97 kB / 0.7755 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.809e-05/0.6657, allocations: 47.89 kB / 0.7756 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.6658, allocations: 8 kB / 0.7756 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003907/0.6661, allocations: 302.9 kB / 0.7759 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6662, allocations: 4 kB / 0.7759 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009295/0.6671, allocations: 192 kB / 0.776 GB, free: 8.066 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 (23): * Single equations (assignments): 19 * 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 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002053/0.6673, allocations: 119.1 kB / 0.7762 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001964/0.6693, allocations: 1.191 MB / 0.7773 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.6693, allocations: 0 / 0.7773 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.6705, allocations: 0.8736 MB / 0.7782 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009096/0.6714, allocations: 182.8 kB / 0.7784 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.6736, allocations: 1.489 MB / 0.7798 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/0.6742, allocations: 0.988 MB / 0.7808 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002971/0.6745, allocations: 105.2 kB / 0.7809 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.672e-05/0.6746, allocations: 31.44 kB / 0.7809 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of SimCode: time 5.41e-07/0.6746, allocations: 0 / 0.7809 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of Templates: time 0.01656/0.6912, allocations: 9.186 MB / 0.7899 GB, free: 9.828 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: