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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001694, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002041/0.002041, allocations: 193.8 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.838/1.838, allocations: 251.6 MB / 0.5089 GB, free: 3.297 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.001526/0.001526, allocations: 75.64 kB / 0.6218 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8415/0.843, allocations: 104.7 MB / 0.724 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01482/0.8579, allocations: 10.79 MB / 0.7345 GB, free: 2.434 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.017/0.875, allocations: 8.777 MB / 0.7431 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002982/0.878, allocations: 55.62 kB / 0.7432 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005606/0.8837, allocations: 1.564 MB / 0.7447 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007288/0.891, allocations: 1.394 MB / 0.746 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002692/0.8937, allocations: 0.6194 MB / 0.7466 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004629/0.8983, allocations: 2.29 MB / 0.7489 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003645/0.902, allocations: 1.547 MB / 0.7504 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00284/0.9049, allocations: 1 MB / 0.7514 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002865/0.9078, allocations: 1.058 MB / 0.7524 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006919/0.9085, allocations: 144 kB / 0.7525 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.9114, allocations: 0.8032 MB / 0.7533 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.9125, allocations: 0.5686 MB / 0.7539 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002433/0.9149, allocations: 0.8823 MB / 0.7547 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005087/0.92, allocations: 2.593 MB / 0.7573 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.9201, allocations: 0 / 0.7573 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.815e-06/0.9201, allocations: 0 / 0.7573 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.768e-05/0.9202, allocations: 0 / 0.7573 GB, free: 11.04 MB / 0.5762 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.005393/0.9256, allocations: 2.022 MB / 0.7592 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.9257, allocations: 12.03 kB / 0.7593 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/0.9368, allocations: 2.05 MB / 0.7613 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003238/0.94, allocations: 1.115 MB / 0.7624 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.9402, allocations: 86.69 kB / 0.7624 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007344/0.941, allocations: 131.9 kB / 0.7626 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009061/0.9501, allocations: 2.478 MB / 0.765 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/0.9502, allocations: 7.938 kB / 0.765 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000473/0.9507, allocations: 55.98 kB / 0.765 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004959/0.9512, allocations: 130.1 kB / 0.7652 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008783/0.96, allocations: 2.537 MB / 0.7676 GB, free: 148 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01978/0.9798, allocations: 10.07 MB / 0.7775 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006347/0.9863, allocations: 1.941 MB / 0.7794 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002825/0.9891, allocations: 0.9738 MB / 0.7803 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.922e-05/0.9893, allocations: 8.422 kB / 0.7803 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.51e-05/0.9893, allocations: 39 kB / 0.7804 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 5.521e-06/0.9894, allocations: 0 / 0.7804 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.03194/1.021, allocations: 8.718 MB / 0.7889 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/1.021, allocations: 64.06 kB / 0.7889 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/1.024, allocations: 1.097 MB / 0.79 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002791/1.024, allocations: 37.7 kB / 0.7901 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008223/1.025, allocations: 0.7418 MB / 0.7908 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005757/1.026, allocations: 280 kB / 0.791 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006982/1.027, allocations: 194.5 kB / 0.7912 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002907/1.027, allocations: 345.9 kB / 0.7916 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00308/1.03, allocations: 1.071 MB / 0.7926 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003203/1.033, allocations: 1.309 MB / 0.7939 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006176/1.039, allocations: 2.386 MB / 0.7962 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/1.039, allocations: 0 / 0.7962 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008971/1.048, allocations: 3.28 MB / 0.7994 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/1.048, allocations: 4 kB / 0.7994 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/1.049, allocations: 8 kB / 0.7994 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003028/1.052, allocations: 0.8071 MB / 0.8002 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/1.054, allocations: 411.3 kB / 0.8006 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01875/1.072, allocations: 15.92 MB / 0.8162 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/1.075, allocations: 291.5 kB / 0.8164 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002725/1.075, allocations: 59.97 kB / 0.8165 GB, free: 11.92 MB / 0.6387 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001072/1.076, allocations: 397.4 kB / 0.8169 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004666/1.077, allocations: 150.2 kB / 0.817 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008809/1.086, allocations: 3.206 MB / 0.8201 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/1.086, allocations: 11.94 kB / 0.8202 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-05/1.086, allocations: 8 kB / 0.8202 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/1.086, allocations: 3.984 kB / 0.8202 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/1.098, allocations: 4.893 MB / 0.8249 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/1.098, allocations: 7.938 kB / 0.825 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/1.1, allocations: 351.4 kB / 0.8253 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002612/1.102, allocations: 0.7134 MB / 0.826 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/1.102, allocations: 31.97 kB / 0.826 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0177/1.12, allocations: 15.54 MB / 0.8412 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.12, allocations: 7.938 kB / 0.8412 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008795/1.129, allocations: 3.038 MB / 0.8442 GB, free: 14.17 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.13, allocations: 383.2 kB / 0.8445 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005728/1.131, allocations: 19.98 kB / 0.8446 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002197/1.133, allocations: 291.5 kB / 0.8448 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004177/1.133, allocations: 80.48 kB / 0.8449 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/1.134, allocations: 35.97 kB / 0.8449 GB, free: 13.36 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001728/1.135, allocations: 0.7482 MB / 0.8457 GB, free: 12.61 MB / 0.67 GB Notification: Performance of sort global known variables: time 8.22e-07/1.135, allocations: 0 / 0.8457 GB, free: 12.61 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002474/1.138, allocations: 428 kB / 0.8461 GB, free: 12.19 MB / 0.67 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00036/1.138, allocations: 127.2 kB / 0.8462 GB, free: 12.05 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008912/1.147, allocations: 3.761 MB / 0.8499 GB, free: 8.188 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.147, allocations: 0 / 0.8499 GB, free: 8.188 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005147/1.152, allocations: 2.368 MB / 0.8522 GB, free: 5.715 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/1.156, allocations: 0.5221 MB / 0.8527 GB, free: 5.211 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009139/1.165, allocations: 4.064 MB / 0.8567 GB, free: 1.086 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/1.166, allocations: 1.388 MB / 0.858 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001891/1.168, allocations: 383.9 kB / 0.8584 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004173/1.169, allocations: 103.4 kB / 0.8585 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of SimCode: time 1.152e-06/1.169, allocations: 0 / 0.8585 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of Templates: time 0.06309/1.232, allocations: 30.44 MB / 0.8882 GB, free: 1.156 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)