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.001769/0.001769, allocations: 93.47 kB / 19.44 MB, free: 332 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.002141/0.002141, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 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.003392/0.003392, allocations: 230 kB / 259.8 MB, free: 12.87 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 1.185/1.185, allocations: 138.4 MB / 454.7 MB, free: 1.5 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 2.365e-06/2.365e-06, allocations: 0 / 0.5543 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.19e-05/3.427e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.008216/0.00825, allocations: 4.407 MB / 0.5586 GB, free: 12.49 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00376/0.01201, allocations: 1.881 MB / 0.5604 GB, free: 10.6 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003028/0.01231, allocations: 11.94 kB / 0.5605 GB, free: 10.59 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.01429, allocations: 0.603 MB / 0.561 GB, free: 9.98 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007688/0.01506, allocations: 274.2 kB / 0.5613 GB, free: 9.711 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007414/0.0158, allocations: 255.2 kB / 0.5615 GB, free: 9.461 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000943/0.01674, allocations: 0.6305 MB / 0.5622 GB, free: 8.828 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007007/0.01744, allocations: 351.1 kB / 0.5625 GB, free: 8.488 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006575/0.0181, allocations: 355.2 kB / 0.5628 GB, free: 8.141 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000628/0.01873, allocations: 239.4 kB / 0.5631 GB, free: 7.906 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.982e-05/0.01883, allocations: 36 kB / 0.5631 GB, free: 7.871 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005423/0.01937, allocations: 231.3 kB / 0.5633 GB, free: 7.645 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.01962, allocations: 179.5 kB / 0.5635 GB, free: 7.469 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.0199, allocations: 151.7 kB / 0.5636 GB, free: 7.32 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000992/0.02089, allocations: 0.6269 MB / 0.5642 GB, free: 6.691 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.02089, allocations: 0 / 0.5642 GB, free: 6.691 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02089, allocations: 0 / 0.5642 GB, free: 6.691 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.02091, allocations: 0 / 0.5642 GB, free: 6.691 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.001534/0.02245, allocations: 0.7878 MB / 0.565 GB, free: 5.863 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.0225, allocations: 12.75 kB / 0.565 GB, free: 5.852 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.0236, allocations: 216.3 kB / 0.5652 GB, free: 5.641 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006777/0.02428, allocations: 291.3 kB / 0.5655 GB, free: 5.324 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.02431, allocations: 29.38 kB / 0.5655 GB, free: 5.297 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.186e-05/0.02438, allocations: 32.38 kB / 0.5656 GB, free: 5.266 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008393/0.02522, allocations: 0.5619 MB / 0.5661 GB, free: 4.621 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.02524, allocations: 4.125 kB / 0.5661 GB, free: 4.617 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.02528, allocations: 16.38 kB / 0.5661 GB, free: 4.602 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.497e-05/0.02535, allocations: 40.56 kB / 0.5662 GB, free: 4.559 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/0.02579, allocations: 194.4 kB / 0.5664 GB, free: 4.367 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002838/0.02863, allocations: 2.133 MB / 0.5684 GB, free: 2.152 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/0.02911, allocations: 175.1 kB / 0.5686 GB, free: 1.969 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.02926, allocations: 63.95 kB / 0.5687 GB, free: 1.902 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.02928, allocations: 4 kB / 0.5687 GB, free: 1.898 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.02932, allocations: 41.34 kB / 0.5687 GB, free: 1.848 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 1.402e-06/0.02932, allocations: 0 / 0.5687 GB, free: 1.848 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.002106/0.03142, allocations: 0.7267 MB / 0.5694 GB, free: 1.074 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.03148, allocations: 55.41 kB / 0.5695 GB, free: 1.008 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.03186, allocations: 356.2 kB / 0.5698 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.0319, allocations: 29.7 kB / 0.5698 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.03213, allocations: 294.8 kB / 0.5701 GB, free: 324 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.451e-05/0.03222, allocations: 91.27 kB / 0.5702 GB, free: 232 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.03236, allocations: 75.64 kB / 0.5703 GB, free: 144 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003169/0.03268, allocations: 0.5196 MB / 0.5708 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.03282, allocations: 60.62 kB / 0.5709 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.03308, allocations: 189.7 kB / 0.571 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.03349, allocations: 265.5 kB / 0.5713 GB, free: 15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.03349, allocations: 7.938 kB / 0.5713 GB, free: 15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000748/0.03424, allocations: 366.4 kB / 0.5716 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.03425, allocations: 4 kB / 0.5716 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.03426, allocations: 4.344 kB / 0.5717 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006547/0.03492, allocations: 131 kB / 0.5718 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.0352, allocations: 67.89 kB / 0.5718 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004754/0.03995, allocations: 5.361 MB / 0.5771 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.04018, allocations: 12 kB / 0.5771 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.0402, allocations: 12 kB / 0.5771 GB, free: 8.648 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.0002185/0.04042, allocations: 192.6 kB / 0.5773 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.741e-05/0.0405, allocations: 35.81 kB / 0.5773 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.376e-05/0.04059, allocations: 38.27 kB / 0.5774 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.0406, allocations: 4.094 kB / 0.5774 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.0406, allocations: 0 / 0.5774 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.04061, allocations: 3.984 kB / 0.5774 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.04107, allocations: 312.4 kB / 0.5777 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.04107, allocations: 0 / 0.5777 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.04128, allocations: 35.92 kB / 0.5777 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005726/0.04185, allocations: 130.9 kB / 0.5778 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.04187, allocations: 4 kB / 0.5778 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004656/0.04653, allocations: 5.361 MB / 0.5831 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.04653, allocations: 0 / 0.5831 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000807/0.04733, allocations: 473.7 kB / 0.5835 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.04748, allocations: 47.78 kB / 0.5836 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.04751, allocations: 4 kB / 0.5836 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.04772, allocations: 15.98 kB / 0.5836 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.04778, allocations: 16.06 kB / 0.5836 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.0478, allocations: 11.94 kB / 0.5836 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002572/0.04805, allocations: 237.1 kB / 0.5838 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.04805, allocations: 0 / 0.5838 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005332/0.04859, allocations: 99.94 kB / 0.5839 GB, free: 1.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.0001802/0.04877, allocations: 111.2 kB / 0.584 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.04979, allocations: 0.7044 MB / 0.5847 GB, free: 332 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.0498, allocations: 3.938 kB / 0.5847 GB, free: 328 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006907/0.05049, allocations: 0.5909 MB / 0.5853 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/0.05099, allocations: 85.61 kB / 0.5854 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.05226, allocations: 0.6542 MB / 0.586 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.05267, allocations: 220.8 kB / 0.5862 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001751/0.05284, allocations: 46.94 kB / 0.5863 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.0529, allocations: 24.5 kB / 0.5863 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/0.05291, allocations: 0 / 0.5863 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.0106/0.0635, allocations: 4.418 MB / 0.5906 GB, free: 10.27 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: 6.097141892067157]