Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001198/0.001198, allocations: 109.4 kB / 15.69 MB, free: 124 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.001277/0.001277, allocations: 189.3 kB / 16.62 MB, free: 6.578 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.601/1.601, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.8/1.8, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001517/0.001517, allocations: 69.7 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.282, allocations: 114.5 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01581/0.2979, allocations: 10.83 MB / 0.7947 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01602/0.3139, allocations: 8.855 MB / 0.8033 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.3157, allocations: 55.69 kB / 0.8034 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004682/0.3204, allocations: 1.67 MB / 0.805 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004938/0.3254, allocations: 1.526 MB / 0.8065 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.3274, allocations: 0.6777 MB / 0.8072 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003187/0.3306, allocations: 2.298 MB / 0.8094 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002075/0.3327, allocations: 1.384 MB / 0.8108 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.3345, allocations: 0.9848 MB / 0.8117 GB, free: 320 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.3365, allocations: 1.015 MB / 0.8127 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004321/0.337, allocations: 136 kB / 0.8129 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.3389, allocations: 0.8032 MB / 0.8136 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007336/0.3396, allocations: 0.5648 MB / 0.8142 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.341, allocations: 0.89 MB / 0.8151 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003583/0.3446, allocations: 2.562 MB / 0.8176 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.3446, allocations: 4 kB / 0.8176 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.644e-06/0.3446, allocations: 7.938 kB / 0.8176 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.203e-05/0.3447, allocations: 0 / 0.8176 GB, free: 10.31 MB / 0.6387 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.00433/0.3491, allocations: 2.018 MB / 0.8195 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3491, allocations: 8.031 kB / 0.8196 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.3603, allocations: 2.046 MB / 0.8216 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/0.3631, allocations: 1.212 MB / 0.8227 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/0.3632, allocations: 90.69 kB / 0.8228 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/0.3634, allocations: 120.1 kB / 0.8229 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005991/0.3694, allocations: 2.478 MB / 0.8254 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.3695, allocations: 7.906 kB / 0.8254 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.3696, allocations: 51.98 kB / 0.8254 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003484/0.37, allocations: 130.1 kB / 0.8255 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00713/0.3771, allocations: 2.545 MB / 0.828 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01483/0.392, allocations: 10.02 MB / 0.8378 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006395/0.3984, allocations: 1.956 MB / 0.8397 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002835/0.4013, allocations: 0.966 MB / 0.8407 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.736e-05/0.4014, allocations: 12.42 kB / 0.8407 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.4014, allocations: 46.94 kB / 0.8407 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.545e-06/0.4014, allocations: 0 / 0.8407 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.03204/0.4335, allocations: 8.703 MB / 0.8492 GB, free: 8.863 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.4336, allocations: 60.06 kB / 0.8493 GB, free: 8.789 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/0.4357, allocations: 1.104 MB / 0.8504 GB, free: 7.668 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.4358, allocations: 37.7 kB / 0.8504 GB, free: 7.625 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006378/0.4365, allocations: 0.7302 MB / 0.8511 GB, free: 6.887 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003644/0.4369, allocations: 283.9 kB / 0.8514 GB, free: 6.605 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005039/0.4374, allocations: 206.4 kB / 0.8516 GB, free: 6.398 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.4376, allocations: 349.9 kB / 0.8519 GB, free: 6.051 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003033/0.4406, allocations: 1.067 MB / 0.8529 GB, free: 4.98 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003573/0.4442, allocations: 1.305 MB / 0.8542 GB, free: 3.582 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006505/0.4507, allocations: 2.382 MB / 0.8565 GB, free: 1.109 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.662e-05/0.4508, allocations: 0 / 0.8565 GB, free: 1.109 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009505/0.4603, allocations: 3.277 MB / 0.8597 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.4604, allocations: 12.06 kB / 0.8598 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/0.4604, allocations: 15.98 kB / 0.8598 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003189/0.4636, allocations: 0.7872 MB / 0.8605 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/0.4656, allocations: 415.2 kB / 0.8609 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/0.4839, allocations: 15.92 MB / 0.8765 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/0.4866, allocations: 287.5 kB / 0.8768 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002382/0.4869, allocations: 55.95 kB / 0.8768 GB, free: 11.17 MB / 0.7012 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.0009858/0.4879, allocations: 404.5 kB / 0.8772 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003899/0.4882, allocations: 138.3 kB / 0.8773 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009037/0.4973, allocations: 3.202 MB / 0.8805 GB, free: 7.391 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.4973, allocations: 15.92 kB / 0.8805 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-05/0.4974, allocations: 12 kB / 0.8805 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.4974, allocations: 3.984 kB / 0.8805 GB, free: 7.359 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/0.5101, allocations: 4.901 MB / 0.8853 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/0.5102, allocations: 7.938 kB / 0.8853 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/0.5119, allocations: 355.3 kB / 0.8856 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002586/0.5145, allocations: 0.6981 MB / 0.8863 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.5147, allocations: 35.97 kB / 0.8863 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01711/0.5318, allocations: 15.53 MB / 0.9015 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5319, allocations: 0 / 0.9015 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009205/0.5411, allocations: 3.051 MB / 0.9045 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/0.5425, allocations: 383.2 kB / 0.9048 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006904/0.5433, allocations: 12 kB / 0.9049 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002482/0.5458, allocations: 299.6 kB / 0.9051 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004048/0.5462, allocations: 80.48 kB / 0.9052 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/0.5464, allocations: 39.97 kB / 0.9053 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001449/0.5478, allocations: 0.7405 MB / 0.906 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.31e-07/0.5478, allocations: 0 / 0.906 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002376/0.5502, allocations: 432 kB / 0.9064 GB, free: 11.45 MB / 0.7325 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.0004076/0.5506, allocations: 135.1 kB / 0.9065 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009284/0.5599, allocations: 3.629 MB / 0.9101 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.56, allocations: 4 kB / 0.9101 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005542/0.5655, allocations: 2.36 MB / 0.9124 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/0.5686, allocations: 0.5332 MB / 0.9129 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008874/0.5775, allocations: 3.434 MB / 0.9163 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3915/0.9691, allocations: 1.382 MB / 0.9176 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00163/0.9708, allocations: 379.5 kB / 0.918 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.9711, allocations: 105.5 kB / 0.9181 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.352e-06/0.9711, allocations: 1.062 kB / 0.9181 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.05841/1.03, allocations: 30.23 MB / 0.9476 GB, free: 118.5 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)