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.001239/0.001239, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.799/1.799, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.889/1.889, allocations: 292.3 MB / 0.5488 GB, free: 12.86 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.001544/0.001544, allocations: 70.27 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.322, allocations: 114.6 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009366/0.3314, allocations: 6.696 MB / 0.7899 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005806/0.3373, allocations: 3.068 MB / 0.7929 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008299/0.3381, allocations: 27.81 kB / 0.7929 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002725/0.341, allocations: 0.9344 MB / 0.7939 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.3427, allocations: 0.5051 MB / 0.7943 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.344, allocations: 429.8 kB / 0.7948 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00167/0.3457, allocations: 1.221 MB / 0.7959 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.3469, allocations: 0.6586 MB / 0.7966 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00097/0.3479, allocations: 474.2 kB / 0.797 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008385/0.3487, allocations: 0.5176 MB / 0.7975 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.3489, allocations: 68 kB / 0.7976 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008513/0.3497, allocations: 379.2 kB / 0.798 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.35, allocations: 311.2 kB / 0.7983 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005034/0.3506, allocations: 445.8 kB / 0.7987 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.3522, allocations: 1.203 MB / 0.7999 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3523, allocations: 0 / 0.7999 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3523, allocations: 0 / 0.7999 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.877e-05/0.3523, allocations: 0 / 0.7999 GB, free: 12.51 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.002432/0.3547, allocations: 1.165 MB / 0.801 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.3548, allocations: 8.031 kB / 0.801 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.3564, allocations: 235.6 kB / 0.8012 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008976/0.3573, allocations: 0.5453 MB / 0.8018 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/0.3574, allocations: 49.62 kB / 0.8018 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.3575, allocations: 64.36 kB / 0.8019 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.3591, allocations: 1.085 MB / 0.8029 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.3591, allocations: 7.938 kB / 0.8029 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.738e-05/0.3592, allocations: 35.98 kB / 0.803 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001763/0.3594, allocations: 85.23 kB / 0.8031 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.3605, allocations: 0.7504 MB / 0.8038 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006897/0.3674, allocations: 5.893 MB / 0.8096 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.3686, allocations: 0.5504 MB / 0.8101 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004375/0.369, allocations: 326 kB / 0.8104 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.845e-05/0.3691, allocations: 8.438 kB / 0.8104 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.3691, allocations: 46.92 kB / 0.8105 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 3.406e-06/0.3691, allocations: 0 / 0.8105 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.004239/0.3734, allocations: 1.99 MB / 0.8124 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.3735, allocations: 55.84 kB / 0.8125 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007792/0.3742, allocations: 0.5547 MB / 0.813 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.3743, allocations: 33.7 kB / 0.813 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.3746, allocations: 418.9 kB / 0.8134 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.3748, allocations: 169.6 kB / 0.8136 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.375, allocations: 122.6 kB / 0.8137 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.3752, allocations: 378.7 kB / 0.8141 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/0.3756, allocations: 285.7 kB / 0.8143 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005569/0.3761, allocations: 493 kB / 0.8148 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009953/0.3772, allocations: 0.8093 MB / 0.8156 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3772, allocations: 0 / 0.8156 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001814/0.379, allocations: 1.091 MB / 0.8167 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.379, allocations: 8 kB / 0.8167 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/0.3791, allocations: 11.98 kB / 0.8167 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008849/0.3799, allocations: 279.6 kB / 0.8169 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.3804, allocations: 119.8 kB / 0.8171 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006922/0.3873, allocations: 7.145 MB / 0.824 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007114/0.3881, allocations: 35.97 kB / 0.8241 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/0.3882, allocations: 31.98 kB / 0.8241 GB, free: 2.113 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.0004342/0.3886, allocations: 257.5 kB / 0.8243 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.3887, allocations: 71.16 kB / 0.8244 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.3903, allocations: 0.8924 MB / 0.8253 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.3903, allocations: 8 kB / 0.8253 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3903, allocations: 0 / 0.8253 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.3903, allocations: 4 kB / 0.8253 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/0.3931, allocations: 1.717 MB / 0.827 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3931, allocations: 0 / 0.827 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.3933, allocations: 63.83 kB / 0.827 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007533/0.3941, allocations: 275.3 kB / 0.8273 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.3941, allocations: 11.94 kB / 0.8273 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006795/0.4009, allocations: 7.12 MB / 0.8343 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.401, allocations: 7.969 kB / 0.8343 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.4027, allocations: 0.9916 MB / 0.8352 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/0.4031, allocations: 200.1 kB / 0.8354 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.876e-05/0.4031, allocations: 8 kB / 0.8354 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.4035, allocations: 31.91 kB / 0.8355 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.4037, allocations: 51.88 kB / 0.8355 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.4037, allocations: 12 kB / 0.8355 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004718/0.4042, allocations: 383.1 kB / 0.8359 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4042, allocations: 0 / 0.8359 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008484/0.4051, allocations: 224 kB / 0.8361 GB, free: 5.066 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.0001796/0.4052, allocations: 119.2 kB / 0.8362 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00215/0.4074, allocations: 1.33 MB / 0.8375 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4074, allocations: 0 / 0.8375 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.4087, allocations: 0.8855 MB / 0.8384 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.4097, allocations: 213.8 kB / 0.8386 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.4121, allocations: 1.344 MB / 0.8399 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006404/0.4127, allocations: 1.02 MB / 0.8409 GB, free: 15.98 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004142/0.4131, allocations: 130 kB / 0.841 GB, free: 15.85 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.4132, allocations: 39.44 kB / 0.8411 GB, free: 15.81 MB / 0.67 GB Notification: Performance of SimCode: time 6.21e-07/0.4132, allocations: 0 / 0.8411 GB, free: 15.81 MB / 0.67 GB Notification: Performance of Templates: time 0.02077/0.434, allocations: 11.17 MB / 0.852 GB, free: 4.77 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)