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.0008454/0.0008454, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0008873/0.0008873, allocations: 169 kB / 23.27 MB, free: 1.223 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.046/1.046, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.001529/0.001529, allocations: 241.8 kB / 260.5 MB, free: 12.67 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.7569/0.7569, allocations: 138.4 MB / 455.5 MB, free: 29.98 MB / 410.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.583e-06/1.583e-06, allocations: 0 / 0.5555 GB, free: 15.92 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.217e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.003358/0.003381, allocations: 3.289 MB / 0.5588 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.004898, allocations: 1.239 MB / 0.56 GB, free: 11.36 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.005034, allocations: 11.94 kB / 0.56 GB, free: 11.35 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000436/0.00547, allocations: 123.3 kB / 0.5601 GB, free: 11.23 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.005785, allocations: 242.4 kB / 0.5603 GB, free: 10.99 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.00606, allocations: 203.5 kB / 0.5605 GB, free: 10.79 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004247/0.006485, allocations: 0.6344 MB / 0.5611 GB, free: 10.15 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.006871, allocations: 351 kB / 0.5615 GB, free: 9.812 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.007129, allocations: 347.3 kB / 0.5618 GB, free: 9.473 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.007434, allocations: 251.3 kB / 0.5621 GB, free: 9.227 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.007478, allocations: 36 kB / 0.5621 GB, free: 9.191 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.007656, allocations: 107.8 kB / 0.5622 GB, free: 9.086 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.007765, allocations: 167.5 kB / 0.5623 GB, free: 8.922 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.007871, allocations: 155.6 kB / 0.5625 GB, free: 8.77 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.008217, allocations: 402.6 kB / 0.5629 GB, free: 8.375 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.008219, allocations: 0 / 0.5629 GB, free: 8.375 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.00822, allocations: 0 / 0.5629 GB, free: 8.375 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.008225, allocations: 4 kB / 0.5629 GB, free: 8.371 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.0007223/0.008947, allocations: 0.7492 MB / 0.5636 GB, free: 7.586 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.008985, allocations: 9.938 kB / 0.5636 GB, free: 7.578 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005327/0.009518, allocations: 192.4 kB / 0.5638 GB, free: 7.391 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.009793, allocations: 287.3 kB / 0.5641 GB, free: 7.082 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.009814, allocations: 25.38 kB / 0.5641 GB, free: 7.055 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.009859, allocations: 32.38 kB / 0.5641 GB, free: 7.023 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.01022, allocations: 0.4993 MB / 0.5646 GB, free: 6.445 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.01023, allocations: 192 / 0.5646 GB, free: 6.445 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.01026, allocations: 20.31 kB / 0.5646 GB, free: 6.426 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.728e-05/0.01029, allocations: 36.56 kB / 0.5647 GB, free: 6.391 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.01044, allocations: 136.4 kB / 0.5648 GB, free: 6.254 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.01183, allocations: 1.965 MB / 0.5667 GB, free: 4.215 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.01213, allocations: 176 kB / 0.5669 GB, free: 4.031 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.01219, allocations: 51.64 kB / 0.5669 GB, free: 3.977 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.0122, allocations: 4 kB / 0.567 GB, free: 3.973 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.01223, allocations: 37.39 kB / 0.567 GB, free: 3.926 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 2.114e-06/0.01223, allocations: 0 / 0.567 GB, free: 3.926 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.001074/0.0133, allocations: 0.6082 MB / 0.5676 GB, free: 3.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.01333, allocations: 51.41 kB / 0.5676 GB, free: 3.207 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.01354, allocations: 316 kB / 0.5679 GB, free: 2.883 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.01356, allocations: 29.7 kB / 0.568 GB, free: 2.848 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.01367, allocations: 286.7 kB / 0.5682 GB, free: 2.559 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/0.01372, allocations: 95.17 kB / 0.5683 GB, free: 2.465 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.01379, allocations: 63.62 kB / 0.5684 GB, free: 2.391 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.01392, allocations: 0.5157 MB / 0.5689 GB, free: 1.863 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-05/0.01397, allocations: 36.62 kB / 0.5689 GB, free: 1.828 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.01407, allocations: 149.7 kB / 0.5691 GB, free: 1.629 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.01424, allocations: 220.2 kB / 0.5693 GB, free: 1.367 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.01424, allocations: 3.938 kB / 0.5693 GB, free: 1.363 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003482/0.01459, allocations: 307.7 kB / 0.5696 GB, free: 1.047 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.0146, allocations: 12.03 kB / 0.5696 GB, free: 1.035 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01461, allocations: 3.984 kB / 0.5696 GB, free: 1.031 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002884/0.0149, allocations: 126.9 kB / 0.5697 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.01504, allocations: 59.91 kB / 0.5698 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.01712, allocations: 5.218 MB / 0.5749 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.01723, allocations: 12 kB / 0.5749 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.01725, allocations: 12.19 kB / 0.5749 GB, free: 11.25 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.0001194/0.01737, allocations: 172.5 kB / 0.575 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.01741, allocations: 43.75 kB / 0.5751 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.01744, allocations: 38.27 kB / 0.5751 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.01745, allocations: 4 kB / 0.5751 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.01745, allocations: 0 / 0.5751 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.01746, allocations: 0 / 0.5751 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.01767, allocations: 209.1 kB / 0.5753 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.01767, allocations: 4 kB / 0.5753 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.245e-05/0.01776, allocations: 31.98 kB / 0.5754 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002485/0.01801, allocations: 122.9 kB / 0.5755 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.01802, allocations: 11.94 kB / 0.5755 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.01987, allocations: 5.212 MB / 0.5806 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01987, allocations: 3.938 kB / 0.5806 GB, free: 5.016 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.0202, allocations: 413.4 kB / 0.581 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.13e-05/0.02026, allocations: 35.84 kB / 0.581 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.02028, allocations: 4 kB / 0.581 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.023e-05/0.02037, allocations: 15.98 kB / 0.581 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.0204, allocations: 23.91 kB / 0.5811 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.02041, allocations: 7.938 kB / 0.5811 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.955e-05/0.0205, allocations: 201.1 kB / 0.5813 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.0205, allocations: 4.031 kB / 0.5813 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003215/0.02082, allocations: 96 kB / 0.5814 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 0.0001402/0.02096, allocations: 103.2 kB / 0.5815 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005148/0.02148, allocations: 0.6585 MB / 0.5821 GB, free: 3.379 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02148, allocations: 0 / 0.5821 GB, free: 3.379 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002578/0.02174, allocations: 0.5763 MB / 0.5827 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.02206, allocations: 78.8 kB / 0.5827 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009869/0.02304, allocations: 0.6589 MB / 0.5834 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.635e-05/0.02313, allocations: 129.3 kB / 0.5835 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.939e-05/0.02323, allocations: 34.97 kB / 0.5835 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.02338, allocations: 138.1 kB / 0.5837 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of SimCode: time 8.01e-07/0.02339, allocations: 0 / 0.5837 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of Templates: time 0.006607/0.02999, allocations: 4.715 MB / 0.5883 GB, free: 13.06 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.5994438603520393]