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.001369/0.001369, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001592/0.001592, allocations: 169 kB / 23.02 MB, free: 1.543 MB / 18.57 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.021/1.021, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.001452/0.001452, allocations: 239.9 kB / 260.2 MB, free: 12.82 MB / 250.7 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 0.6882/0.6882, allocations: 138.4 MB / 455.2 MB, free: 1.57 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.5551 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.773e-05, allocations: 5.406 kB / 0.5551 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.003258/0.003276, allocations: 3.308 MB / 0.5583 GB, free: 13.26 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.004885, allocations: 1.246 MB / 0.5595 GB, free: 12 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.005035, allocations: 15.94 kB / 0.5596 GB, free: 11.99 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004448/0.00548, allocations: 135.1 kB / 0.5597 GB, free: 11.86 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.005821, allocations: 230.5 kB / 0.5599 GB, free: 11.63 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.006145, allocations: 203.5 kB / 0.5601 GB, free: 11.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005575/0.006702, allocations: 0.6383 MB / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004108/0.007113, allocations: 347.1 kB / 0.561 GB, free: 10.45 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.007374, allocations: 347.2 kB / 0.5614 GB, free: 10.11 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.007708, allocations: 251.3 kB / 0.5616 GB, free: 9.867 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.449e-05/0.007752, allocations: 36 kB / 0.5617 GB, free: 9.832 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.007915, allocations: 103.8 kB / 0.5618 GB, free: 9.73 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.008027, allocations: 167.5 kB / 0.5619 GB, free: 9.566 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.008149, allocations: 159.7 kB / 0.5621 GB, free: 9.41 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.008509, allocations: 406.5 kB / 0.5625 GB, free: 9.012 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.008511, allocations: 0 / 0.5625 GB, free: 9.012 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.008511, allocations: 0 / 0.5625 GB, free: 9.012 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.008517, allocations: 0 / 0.5625 GB, free: 9.012 MB / 490.7 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.0007599/0.009277, allocations: 0.7454 MB / 0.5632 GB, free: 8.227 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.009311, allocations: 8.75 kB / 0.5632 GB, free: 8.219 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005995/0.00991, allocations: 220.3 kB / 0.5634 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.01025, allocations: 287.4 kB / 0.5637 GB, free: 7.691 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.01028, allocations: 25.38 kB / 0.5637 GB, free: 7.668 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/0.01032, allocations: 40.34 kB / 0.5637 GB, free: 7.629 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006747/0.011, allocations: 0.5267 MB / 0.5643 GB, free: 7.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.01102, allocations: 4.188 kB / 0.5643 GB, free: 7.016 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.01105, allocations: 16.38 kB / 0.5643 GB, free: 7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.255e-05/0.0111, allocations: 36.58 kB / 0.5643 GB, free: 6.965 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.01136, allocations: 163.7 kB / 0.5645 GB, free: 6.801 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.01284, allocations: 2.047 MB / 0.5665 GB, free: 4.672 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.01315, allocations: 189.5 kB / 0.5666 GB, free: 4.477 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.199e-05/0.01322, allocations: 59.59 kB / 0.5667 GB, free: 4.414 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.01323, allocations: 4 kB / 0.5667 GB, free: 4.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.01326, allocations: 41.39 kB / 0.5667 GB, free: 4.359 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 1.843e-06/0.01326, allocations: 0 / 0.5667 GB, free: 4.359 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.001128/0.01439, allocations: 0.6801 MB / 0.5674 GB, free: 3.629 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.01441, allocations: 55.41 kB / 0.5675 GB, free: 3.562 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.01461, allocations: 312.2 kB / 0.5678 GB, free: 3.242 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.01463, allocations: 33.7 kB / 0.5678 GB, free: 3.203 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.01476, allocations: 286.8 kB / 0.5681 GB, free: 2.918 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.01481, allocations: 83.28 kB / 0.5681 GB, free: 2.836 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.398e-05/0.01488, allocations: 63.64 kB / 0.5682 GB, free: 2.762 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.01501, allocations: 0.5156 MB / 0.5687 GB, free: 2.234 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.473e-05/0.01509, allocations: 48.62 kB / 0.5688 GB, free: 2.188 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.01522, allocations: 165.7 kB / 0.5689 GB, free: 1.973 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.01542, allocations: 229.5 kB / 0.5691 GB, free: 1.699 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01543, allocations: 8 kB / 0.5691 GB, free: 1.691 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000394/0.01582, allocations: 338.3 kB / 0.5695 GB, free: 1.344 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.01584, allocations: 6.656 kB / 0.5695 GB, free: 1.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.01584, allocations: 4.344 kB / 0.5695 GB, free: 1.336 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003271/0.01617, allocations: 126.9 kB / 0.5696 GB, free: 1.199 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.01633, allocations: 63.91 kB / 0.5697 GB, free: 1.137 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.01868, allocations: 5.29 MB / 0.5748 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.821e-05/0.01878, allocations: 8 kB / 0.5748 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.0188, allocations: 12.14 kB / 0.5748 GB, free: 11.46 MB / 0.4948 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.0001053/0.0189, allocations: 180.6 kB / 0.575 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.01895, allocations: 39.84 kB / 0.575 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.01898, allocations: 38.27 kB / 0.5751 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.01898, allocations: 0 / 0.5751 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.01898, allocations: 4 kB / 0.5751 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.01899, allocations: 0 / 0.5751 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.0192, allocations: 268.4 kB / 0.5753 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.0192, allocations: 0 / 0.5753 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.74e-05/0.0193, allocations: 43.92 kB / 0.5754 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/0.01955, allocations: 111 kB / 0.5755 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.01957, allocations: 11.98 kB / 0.5755 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.02154, allocations: 5.283 MB / 0.5807 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.02154, allocations: 0 / 0.5807 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.02193, allocations: 445.8 kB / 0.5811 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.02199, allocations: 43.83 kB / 0.5811 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.02201, allocations: 4 kB / 0.5811 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.136e-05/0.0221, allocations: 11.98 kB / 0.5811 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.02214, allocations: 23.91 kB / 0.5812 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.02215, allocations: 4 kB / 0.5812 GB, free: 4.508 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001122/0.02226, allocations: 217.1 kB / 0.5814 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.02226, allocations: 0 / 0.5814 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002801/0.02254, allocations: 95.94 kB / 0.5815 GB, free: 4.203 MB / 0.4948 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 7.975e-05/0.02262, allocations: 103.3 kB / 0.5816 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000486/0.02311, allocations: 0.677 MB / 0.5822 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.02311, allocations: 0 / 0.5822 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.02337, allocations: 0.5895 MB / 0.5828 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.02366, allocations: 82.58 kB / 0.5829 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009341/0.02459, allocations: 0.6387 MB / 0.5835 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.919e-05/0.02467, allocations: 132.6 kB / 0.5836 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.02478, allocations: 50.92 kB / 0.5837 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.02482, allocations: 28.44 kB / 0.5837 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.02482, allocations: 0 / 0.5837 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of Templates: time 0.00642/0.03124, allocations: 4.595 MB / 0.5882 GB, free: 13.24 MB / 0.5105 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.6773655959405005]