Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 215.1 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002631/0.002631, allocations: 290 kB / 313.5 MB, free: 2.59 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.252/1.252, allocations: 180.6 MB / 0.5377 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003012/0.003012, allocations: 100.3 kB / 0.7407 GB, free: 27.58 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1584, allocations: 95.4 MB / 0.8339 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.006472/0.1649, allocations: 4.25 MB / 0.838 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003262/0.1681, allocations: 1.827 MB / 0.8398 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.1684, allocations: 15.94 kB / 0.8398 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.1701, allocations: 0.59 MB / 0.8404 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000641/0.1708, allocations: 262.6 kB / 0.8406 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006722/0.1714, allocations: 251.4 kB / 0.8409 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008161/0.1723, allocations: 0.6151 MB / 0.8415 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005942/0.1729, allocations: 351.2 kB / 0.8418 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.1732, allocations: 251.1 kB / 0.8421 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004945/0.1737, allocations: 270.9 kB / 0.8423 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.361e-05/0.1737, allocations: 36 kB / 0.8423 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004309/0.1741, allocations: 223.5 kB / 0.8426 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.1743, allocations: 163.5 kB / 0.8427 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.1745, allocations: 187.2 kB / 0.8429 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007597/0.1753, allocations: 0.6149 MB / 0.8435 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1753, allocations: 0 / 0.8435 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1753, allocations: 0 / 0.8435 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.1753, allocations: 0 / 0.8435 GB, free: 13.89 MB / 0.5919 GB 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.001236/0.1765, allocations: 0.6609 MB / 0.8441 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1766, allocations: 13.94 kB / 0.8442 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000952/0.1775, allocations: 148.5 kB / 0.8443 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005559/0.1781, allocations: 272.8 kB / 0.8446 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.1781, allocations: 25.38 kB / 0.8446 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.1782, allocations: 36.36 kB / 0.8446 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009215/0.1791, allocations: 0.6822 MB / 0.8453 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1791, allocations: 0 / 0.8453 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/0.1792, allocations: 19.98 kB / 0.8453 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.102e-05/0.1792, allocations: 36.62 kB / 0.8453 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006333/0.1798, allocations: 386.3 kB / 0.8457 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.1822, allocations: 1.664 MB / 0.8473 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.1828, allocations: 253 kB / 0.8476 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.183, allocations: 96.8 kB / 0.8477 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.183, allocations: 7.938 kB / 0.8477 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.183, allocations: 34.56 kB / 0.8477 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.183, allocations: 0 / 0.8477 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002126/0.1851, allocations: 0.9037 MB / 0.8486 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.1852, allocations: 51.41 kB / 0.8486 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.1855, allocations: 273.8 kB / 0.8489 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.1855, allocations: 33.7 kB / 0.8489 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.1857, allocations: 240 kB / 0.8492 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.477e-05/0.1858, allocations: 87.25 kB / 0.8492 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.1859, allocations: 65.98 kB / 0.8493 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1861, allocations: 342.7 kB / 0.8496 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.1863, allocations: 104.6 kB / 0.8497 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.1865, allocations: 188.4 kB / 0.8499 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004395/0.1869, allocations: 324.1 kB / 0.8502 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1869, allocations: 0 / 0.8502 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007738/0.1877, allocations: 434.2 kB / 0.8506 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1877, allocations: 8.031 kB / 0.8506 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.1877, allocations: 4 kB / 0.8506 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003555/0.1881, allocations: 94.5 kB / 0.8507 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.1884, allocations: 59.91 kB / 0.8508 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/0.192, allocations: 4.02 MB / 0.8547 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.1922, allocations: 12 kB / 0.8547 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.1923, allocations: 12 kB / 0.8547 GB, free: 1.66 MB / 0.5919 GB 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002339/0.1925, allocations: 181.7 kB / 0.8549 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.1926, allocations: 31.81 kB / 0.8549 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.324e-05/0.1926, allocations: 42.27 kB / 0.855 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1926, allocations: 0 / 0.855 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.1926, allocations: 7.938 kB / 0.855 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1927, allocations: 4.062 kB / 0.855 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.193, allocations: 277.2 kB / 0.8553 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.193, allocations: 0 / 0.8553 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.1932, allocations: 35.97 kB / 0.8553 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003025/0.1935, allocations: 90.44 kB / 0.8554 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.1936, allocations: 12 kB / 0.8554 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003509/0.1971, allocations: 4.006 MB / 0.8593 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1971, allocations: 0 / 0.8593 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008804/0.198, allocations: 0.549 MB / 0.8598 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.1981, allocations: 47.83 kB / 0.8599 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.1981, allocations: 4 kB / 0.8599 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.1983, allocations: 20.08 kB / 0.8599 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.1984, allocations: 23.91 kB / 0.8599 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.1984, allocations: 4 kB / 0.8599 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002178/0.1986, allocations: 193.1 kB / 0.8601 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1986, allocations: 0 / 0.8601 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004671/0.1991, allocations: 100 kB / 0.8602 GB, free: 11.67 MB / 0.6075 GB 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001431/0.1992, allocations: 103.2 kB / 0.8603 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008896/0.2001, allocations: 0.5926 MB / 0.8609 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2001, allocations: 0 / 0.8609 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005399/0.2007, allocations: 464.5 kB / 0.8613 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.2011, allocations: 65.59 kB / 0.8614 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.2024, allocations: 0.7662 MB / 0.8621 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.2027, allocations: 228 kB / 0.8624 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.2027, allocations: 27.44 kB / 0.8624 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.2027, allocations: 0 / 0.8624 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of Templates: time 0.01231/0.215, allocations: 8.689 MB / 0.8709 GB, free: 0.6328 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.903272376861423] Failed to read output from testmodel.py, exit status != 0: 0.22307481104508042 0.239317087 0.060553392000000004 Calling exit ...