Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001189/0.001188, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.01369/0.01369, allocations: 169.2 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.991/1.991, allocations: 292.7 MB / 0.5502 GB, free: 14.5 MB / 462.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.000955/0.000955, allocations: 16.19 kB / 0.6743 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3269, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007301/0.3342, allocations: 6.291 MB / 0.794 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004915/0.3392, allocations: 3.014 MB / 0.797 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004957/0.3397, allocations: 27.81 kB / 0.797 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.3401, allocations: 130.9 kB / 0.7971 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.3413, allocations: 489.6 kB / 0.7976 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009698/0.3423, allocations: 378.6 kB / 0.7979 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001472/0.3437, allocations: 1.583 MB / 0.7995 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001703/0.3455, allocations: 1.02 MB / 0.8005 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005298/0.346, allocations: 390.3 kB / 0.8009 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006049/0.3466, allocations: 0.4902 MB / 0.8013 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.727e-05/0.3467, allocations: 32 kB / 0.8014 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007386/0.3474, allocations: 447.1 kB / 0.8018 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002493/0.3477, allocations: 271.2 kB / 0.8021 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.3481, allocations: 431.5 kB / 0.8025 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.3494, allocations: 1.18 MB / 0.8036 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.3494, allocations: 15.94 kB / 0.8036 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.225e-06/0.3494, allocations: 0 / 0.8036 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.3494, allocations: 0 / 0.8036 GB, free: 11.39 MB / 0.6231 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.001923/0.3514, allocations: 0.9895 MB / 0.8046 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3514, allocations: 8.031 kB / 0.8046 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.3529, allocations: 243.5 kB / 0.8048 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007718/0.3537, allocations: 0.5413 MB / 0.8054 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/0.3538, allocations: 53.67 kB / 0.8054 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.3539, allocations: 60.36 kB / 0.8055 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.3554, allocations: 1.089 MB / 0.8065 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.3554, allocations: 7.938 kB / 0.8066 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.089e-05/0.3555, allocations: 27.98 kB / 0.8066 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/0.3556, allocations: 85.25 kB / 0.8067 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.3567, allocations: 0.7504 MB / 0.8074 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005264/0.362, allocations: 5.913 MB / 0.8132 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009382/0.363, allocations: 0.5501 MB / 0.8137 GB, free: 456 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/0.3634, allocations: 330 kB / 0.814 GB, free: 124 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.3635, allocations: 4.438 kB / 0.814 GB, free: 120 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.3635, allocations: 39 kB / 0.8141 GB, free: 72 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.505e-06/0.3635, allocations: 0 / 0.8141 GB, free: 72 kB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.004059/0.3676, allocations: 1.99 MB / 0.816 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.3677, allocations: 59.84 kB / 0.8161 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006565/0.3683, allocations: 0.5585 MB / 0.8166 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.3684, allocations: 33.7 kB / 0.8166 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/0.3686, allocations: 418.8 kB / 0.817 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.3688, allocations: 173.6 kB / 0.8172 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.198e-05/0.3689, allocations: 57.69 kB / 0.8173 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.369, allocations: 378.7 kB / 0.8176 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004092/0.3694, allocations: 273.8 kB / 0.8179 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005272/0.37, allocations: 497 kB / 0.8184 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.3711, allocations: 0.8016 MB / 0.8191 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3712, allocations: 4 kB / 0.8191 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001745/0.3729, allocations: 1.091 MB / 0.8202 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.3729, allocations: 12.16 kB / 0.8202 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.373, allocations: 11.94 kB / 0.8202 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000896/0.3739, allocations: 279.2 kB / 0.8205 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/0.3744, allocations: 123.8 kB / 0.8206 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00712/0.3815, allocations: 6.61 MB / 0.8271 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008238/0.3824, allocations: 35.97 kB / 0.8271 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/0.3824, allocations: 32 kB / 0.8271 GB, free: 1.773 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.0005233/0.383, allocations: 257.5 kB / 0.8274 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.3831, allocations: 71.16 kB / 0.8274 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.3847, allocations: 0.8924 MB / 0.8283 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.3848, allocations: 4 kB / 0.8283 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3848, allocations: 4 kB / 0.8283 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3848, allocations: 3.984 kB / 0.8283 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/0.3874, allocations: 1.72 MB / 0.83 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.3874, allocations: 11.92 kB / 0.83 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.3877, allocations: 55.95 kB / 0.8301 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000734/0.3884, allocations: 271.3 kB / 0.8303 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.3885, allocations: 4 kB / 0.8303 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006612/0.3951, allocations: 6.587 MB / 0.8368 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.3952, allocations: 7.969 kB / 0.8368 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.3968, allocations: 0.9877 MB / 0.8377 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/0.3971, allocations: 192.2 kB / 0.8379 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.828e-05/0.3972, allocations: 15.94 kB / 0.8379 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/0.3976, allocations: 27.91 kB / 0.838 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.3977, allocations: 52.02 kB / 0.838 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.3978, allocations: 16 kB / 0.838 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004693/0.3982, allocations: 379.1 kB / 0.8384 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3982, allocations: 0 / 0.8384 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008675/0.3991, allocations: 228 kB / 0.8386 GB, free: 5.297 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001783/0.3993, allocations: 119.2 kB / 0.8387 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001981/0.4013, allocations: 1.268 MB / 0.84 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4013, allocations: 8.125 kB / 0.84 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.4026, allocations: 0.8815 MB / 0.8408 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.4037, allocations: 214.2 kB / 0.841 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.4061, allocations: 1.655 MB / 0.8427 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007552/0.4069, allocations: 1.005 MB / 0.8436 GB, free: 15.96 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004053/0.4073, allocations: 125.9 kB / 0.8438 GB, free: 15.84 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.4074, allocations: 39.44 kB / 0.8438 GB, free: 15.8 MB / 0.67 GB Notification: Performance of SimCode: time 7.72e-07/0.4074, allocations: 3.938 kB / 0.8438 GB, free: 15.8 MB / 0.67 GB Notification: Performance of Templates: time 0.01873/0.4261, allocations: 10.61 MB / 0.8542 GB, free: 5.309 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: