Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 95.88 kB / 15.68 MB, free: 488 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.0009414/0.0009412, allocations: 170.4 kB / 16.57 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.2 MB / 240.5 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6712/0.6712, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 8 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1558, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.006447/0.1623, allocations: 3.66 MB / 0.5604 GB, free: 7.953 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003884/0.1662, allocations: 1.727 MB / 0.5621 GB, free: 6.219 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003024/0.1666, allocations: 7.938 kB / 0.5621 GB, free: 6.211 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.1669, allocations: 71.53 kB / 0.5622 GB, free: 6.141 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007197/0.1676, allocations: 191.4 kB / 0.5624 GB, free: 5.953 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007566/0.1684, allocations: 195 kB / 0.5625 GB, free: 5.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006411/0.1691, allocations: 351.2 kB / 0.5629 GB, free: 5.426 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006244/0.1697, allocations: 388.9 kB / 0.5632 GB, free: 5.016 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002862/0.17, allocations: 171.5 kB / 0.5634 GB, free: 4.848 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.1705, allocations: 183.3 kB / 0.5636 GB, free: 4.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.1705, allocations: 20 kB / 0.5636 GB, free: 4.648 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004388/0.171, allocations: 119.8 kB / 0.5637 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.1712, allocations: 115.7 kB / 0.5638 GB, free: 4.418 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.1713, allocations: 101.5 kB / 0.5639 GB, free: 4.312 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006618/0.172, allocations: 463 kB / 0.5644 GB, free: 3.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.172, allocations: 0 / 0.5644 GB, free: 3.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.172, allocations: 3.938 kB / 0.5644 GB, free: 3.855 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.172, allocations: 4 kB / 0.5644 GB, free: 3.852 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001507/0.1736, allocations: 0.6567 MB / 0.565 GB, free: 3.148 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.1736, allocations: 16.02 kB / 0.565 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/0.1754, allocations: 159.3 kB / 0.5652 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006574/0.176, allocations: 321.4 kB / 0.5655 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.11e-05/0.1761, allocations: 28.98 kB / 0.5655 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.695e-05/0.1762, allocations: 32 kB / 0.5655 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.1773, allocations: 0.5275 MB / 0.5661 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1774, allocations: 4 kB / 0.5661 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.736e-05/0.1774, allocations: 16 kB / 0.5661 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.042e-05/0.1775, allocations: 28.64 kB / 0.5661 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008846/0.1784, allocations: 382.3 kB / 0.5665 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/0.1821, allocations: 2.423 MB / 0.5688 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.1828, allocations: 262.5 kB / 0.5691 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.1829, allocations: 0 / 0.5691 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.1829, allocations: 34.56 kB / 0.5691 GB, free: 14.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.924e-06/0.1829, allocations: 0 / 0.5691 GB, free: 14.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.003094/0.186, allocations: 1.125 MB / 0.5702 GB, free: 13.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.1861, allocations: 59.39 kB / 0.5703 GB, free: 13.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004934/0.1866, allocations: 292.5 kB / 0.5706 GB, free: 13.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.1867, allocations: 29.7 kB / 0.5706 GB, free: 13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.1869, allocations: 239.4 kB / 0.5708 GB, free: 12.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.56e-05/0.187, allocations: 86.84 kB / 0.5709 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/0.187, allocations: 4 kB / 0.5709 GB, free: 12.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1872, allocations: 346.8 kB / 0.5712 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.1874, allocations: 100.5 kB / 0.5713 GB, free: 12.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.1877, allocations: 188.5 kB / 0.5715 GB, free: 12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.188, allocations: 134.7 kB / 0.5716 GB, free: 11.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.188, allocations: 0 / 0.5716 GB, free: 11.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00105/0.1891, allocations: 436 kB / 0.5721 GB, free: 11.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.1891, allocations: 11.94 kB / 0.5721 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1891, allocations: 0 / 0.5721 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004801/0.1896, allocations: 94.5 kB / 0.5722 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.19, allocations: 67.94 kB / 0.5722 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00401/0.1941, allocations: 4.099 MB / 0.5762 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.1944, allocations: 15.92 kB / 0.5762 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.1945, allocations: 12 kB / 0.5762 GB, free: 6.727 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003077/0.1948, allocations: 186 kB / 0.5764 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.391e-05/0.1949, allocations: 31.66 kB / 0.5765 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.987e-05/0.195, allocations: 38.31 kB / 0.5765 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.195, allocations: 0 / 0.5765 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/0.195, allocations: 4 kB / 0.5765 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.195, allocations: 0 / 0.5765 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.1957, allocations: 401.4 kB / 0.5769 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1957, allocations: 0 / 0.5769 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.196, allocations: 43.91 kB / 0.5769 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004241/0.1964, allocations: 94.67 kB / 0.577 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.1965, allocations: 8 kB / 0.577 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003635/0.2001, allocations: 4.088 MB / 0.581 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.2001, allocations: 7.922 kB / 0.581 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.2013, allocations: 0.5556 MB / 0.5816 GB, free: 0.793 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.2015, allocations: 128.7 kB / 0.5817 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/0.2015, allocations: 0 / 0.5817 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.2018, allocations: 15.98 kB / 0.5817 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.2019, allocations: 15.98 kB / 0.5817 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.2019, allocations: 12.06 kB / 0.5817 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002932/0.2022, allocations: 211.1 kB / 0.5819 GB, free: 412 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2022, allocations: 0 / 0.5819 GB, free: 412 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007362/0.203, allocations: 96 kB / 0.582 GB, free: 316 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001647/0.2032, allocations: 103.9 kB / 0.5821 GB, free: 204 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.3353/0.5385, allocations: 0.6037 MB / 0.5827 GB, free: 32.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/0.5385, allocations: 0.625 kB / 0.5827 GB, free: 32.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005477/0.5391, allocations: 470.9 kB / 0.5832 GB, free: 32.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.5396, allocations: 66.47 kB / 0.5832 GB, free: 32.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.5409, allocations: 0.8566 MB / 0.5841 GB, free: 31.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.5412, allocations: 0.8423 MB / 0.5849 GB, free: 31.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000216/0.5414, allocations: 66.8 kB / 0.5849 GB, free: 31.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.5415, allocations: 23.84 kB / 0.585 GB, free: 31.03 MB / 446.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5415, allocations: 1.906 kB / 0.585 GB, free: 31.03 MB / 446.1 MB Notification: Performance of Templates: time 0.009827/0.5513, allocations: 4.09 MB / 0.589 GB, free: 30.83 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)