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.001421/0.001421, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001789/0.001789, allocations: 195.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.846/1.846, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.952/1.952, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.002009/0.002009, allocations: 64.16 kB / 0.671 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2878, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009896/0.2978, allocations: 6.711 MB / 0.7894 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006101/0.3039, allocations: 3.041 MB / 0.7924 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009104/0.3049, allocations: 23.81 kB / 0.7924 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003014/0.3079, allocations: 0.8915 MB / 0.7933 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.31, allocations: 473.7 kB / 0.7937 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.3114, allocations: 379.3 kB / 0.7941 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00208/0.3135, allocations: 1.228 MB / 0.7953 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.3152, allocations: 0.7328 MB / 0.796 GB, free: 396 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.3163, allocations: 482.2 kB / 0.7965 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.3175, allocations: 0.541 MB / 0.797 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002948/0.3178, allocations: 64 kB / 0.7971 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.3192, allocations: 379.3 kB / 0.7974 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005806/0.3198, allocations: 303.2 kB / 0.7977 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.3209, allocations: 453.7 kB / 0.7981 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.3234, allocations: 1.226 MB / 0.7993 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.3235, allocations: 0 / 0.7993 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3235, allocations: 3.938 kB / 0.7993 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.408e-05/0.3235, allocations: 0 / 0.7993 GB, free: 12.96 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.002963/0.3265, allocations: 1.157 MB / 0.8005 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/0.3266, allocations: 16.03 kB / 0.8005 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/0.3285, allocations: 231.6 kB / 0.8007 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.3297, allocations: 0.5452 MB / 0.8012 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.869e-05/0.3298, allocations: 49.67 kB / 0.8013 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.33, allocations: 64.36 kB / 0.8013 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.3318, allocations: 1.089 MB / 0.8024 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/0.3318, allocations: 7.922 kB / 0.8024 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.898e-05/0.3319, allocations: 35.98 kB / 0.8025 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001804/0.3321, allocations: 81.27 kB / 0.8025 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.3334, allocations: 0.7542 MB / 0.8033 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006299/0.3397, allocations: 5.889 MB / 0.809 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.3408, allocations: 0.5623 MB / 0.8096 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004582/0.3413, allocations: 333.4 kB / 0.8099 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.3413, allocations: 4.438 kB / 0.8099 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.3414, allocations: 39 kB / 0.8099 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.455e-06/0.3414, allocations: 0 / 0.8099 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.004355/0.3457, allocations: 1.986 MB / 0.8119 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.3458, allocations: 59.84 kB / 0.8119 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007635/0.3466, allocations: 0.5509 MB / 0.8125 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.3466, allocations: 33.7 kB / 0.8125 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.347, allocations: 414.9 kB / 0.8129 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.3471, allocations: 173.5 kB / 0.8131 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.3474, allocations: 118.6 kB / 0.8132 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3476, allocations: 382.7 kB / 0.8135 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.348, allocations: 281.8 kB / 0.8138 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005842/0.3485, allocations: 493 kB / 0.8143 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.3496, allocations: 0.8055 MB / 0.8151 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3496, allocations: 0 / 0.8151 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002005/0.3516, allocations: 1.094 MB / 0.8161 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.3516, allocations: 8 kB / 0.8161 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.3517, allocations: 8 kB / 0.8161 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009361/0.3526, allocations: 283.8 kB / 0.8164 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.3531, allocations: 127.8 kB / 0.8165 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006826/0.3599, allocations: 7.134 MB / 0.8235 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007297/0.3607, allocations: 39.95 kB / 0.8235 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/0.3608, allocations: 28 kB / 0.8236 GB, free: 2.574 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.0003821/0.3612, allocations: 258.2 kB / 0.8238 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.3613, allocations: 71.16 kB / 0.8239 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.3629, allocations: 0.8885 MB / 0.8247 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3629, allocations: 4 kB / 0.8247 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.3629, allocations: 4.188 kB / 0.8248 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.3629, allocations: 3.984 kB / 0.8248 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/0.3656, allocations: 1.724 MB / 0.8264 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.3656, allocations: 4 kB / 0.8264 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.3659, allocations: 63.83 kB / 0.8265 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007401/0.3666, allocations: 275.3 kB / 0.8268 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.3667, allocations: 19.92 kB / 0.8268 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006521/0.3732, allocations: 7.115 MB / 0.8337 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3733, allocations: 4.031 kB / 0.8337 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.3749, allocations: 0.9915 MB / 0.8347 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.3753, allocations: 188.2 kB / 0.8349 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-05/0.3754, allocations: 12 kB / 0.8349 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.3757, allocations: 31.91 kB / 0.8349 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.3759, allocations: 43.94 kB / 0.835 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.3759, allocations: 16 kB / 0.835 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004526/0.3764, allocations: 383.1 kB / 0.8354 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3764, allocations: 0 / 0.8354 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008462/0.3772, allocations: 224 kB / 0.8356 GB, free: 5.531 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.000178/0.3774, allocations: 122.1 kB / 0.8357 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002183/0.3796, allocations: 1.338 MB / 0.837 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3796, allocations: 0 / 0.837 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.3808, allocations: 0.8855 MB / 0.8379 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.382, allocations: 224 kB / 0.8381 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.3844, allocations: 1.639 MB / 0.8397 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/0.385, allocations: 1.009 MB / 0.8407 GB, free: 144 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004706/0.3855, allocations: 122 kB / 0.8408 GB, free: 20 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.3856, allocations: 39.48 kB / 0.8408 GB, free: 15.98 MB / 0.67 GB Notification: Performance of SimCode: time 5.71e-07/0.3857, allocations: 0 / 0.8408 GB, free: 15.98 MB / 0.67 GB Notification: Performance of Templates: time 0.02039/0.4061, allocations: 11.26 MB / 0.8518 GB, free: 4.855 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (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)