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.000897/0.000897, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009198/0.0009198, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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 0.8871/0.8871, allocations: 177.1 MB / 204.5 MB, free: 5.309 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.001656/0.001656, allocations: 238.6 kB / 261.3 MB, free: 12.52 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.8493/0.8493, allocations: 138.4 MB / 456.3 MB, free: 30.03 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.052e-06/1.052e-06, allocations: 0 / 0.5563 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.067e-06/1.012e-05, allocations: 2.312 kB / 0.5563 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.003004/0.003014, allocations: 3.3 MB / 0.5595 GB, free: 12.6 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.004331, allocations: 1.231 MB / 0.5607 GB, free: 11.36 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.004455, allocations: 15.88 kB / 0.5607 GB, free: 11.35 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004526/0.004907, allocations: 127.2 kB / 0.5609 GB, free: 11.22 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.005192, allocations: 238.5 kB / 0.5611 GB, free: 10.99 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.005432, allocations: 199.5 kB / 0.5613 GB, free: 10.79 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004401/0.005872, allocations: 0.6343 MB / 0.5619 GB, free: 10.16 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003885/0.006261, allocations: 351.1 kB / 0.5622 GB, free: 9.816 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.006515, allocations: 351.2 kB / 0.5626 GB, free: 9.473 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.006808, allocations: 243.3 kB / 0.5628 GB, free: 9.234 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.006849, allocations: 40 kB / 0.5628 GB, free: 9.195 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.006982, allocations: 107.7 kB / 0.5629 GB, free: 9.09 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.007086, allocations: 167.5 kB / 0.5631 GB, free: 8.926 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.007199, allocations: 155.7 kB / 0.5633 GB, free: 8.773 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.007527, allocations: 406.6 kB / 0.5636 GB, free: 8.375 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.007529, allocations: 0 / 0.5636 GB, free: 8.375 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.007529, allocations: 0 / 0.5636 GB, free: 8.375 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.007533, allocations: 0 / 0.5636 GB, free: 8.375 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.0007178/0.008251, allocations: 0.7453 MB / 0.5644 GB, free: 7.594 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.00828, allocations: 9.938 kB / 0.5644 GB, free: 7.586 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005337/0.008814, allocations: 192.4 kB / 0.5646 GB, free: 7.398 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.009077, allocations: 283.3 kB / 0.5648 GB, free: 7.094 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.009098, allocations: 29.31 kB / 0.5649 GB, free: 7.062 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.009141, allocations: 36.38 kB / 0.5649 GB, free: 7.027 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.009495, allocations: 0.4993 MB / 0.5654 GB, free: 6.449 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.009506, allocations: 192 / 0.5654 GB, free: 6.449 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.009531, allocations: 12.38 kB / 0.5654 GB, free: 6.438 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/0.009566, allocations: 44.56 kB / 0.5654 GB, free: 6.395 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.00972, allocations: 128.4 kB / 0.5656 GB, free: 6.266 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.01093, allocations: 1.969 MB / 0.5675 GB, free: 4.223 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.01117, allocations: 182.9 kB / 0.5677 GB, free: 4.031 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.01122, allocations: 43.66 kB / 0.5677 GB, free: 3.984 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.01123, allocations: 4 kB / 0.5677 GB, free: 3.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.01125, allocations: 41.39 kB / 0.5677 GB, free: 3.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.01125, allocations: 0 / 0.5677 GB, free: 3.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.001027/0.01228, allocations: 0.6013 MB / 0.5683 GB, free: 3.281 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.01232, allocations: 55.41 kB / 0.5684 GB, free: 3.215 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.0126, allocations: 316 kB / 0.5687 GB, free: 2.891 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.01263, allocations: 37.64 kB / 0.5687 GB, free: 2.848 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.01281, allocations: 282.7 kB / 0.569 GB, free: 2.562 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.921e-05/0.01288, allocations: 91.23 kB / 0.5691 GB, free: 2.473 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.01301, allocations: 71.62 kB / 0.5691 GB, free: 2.391 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.01315, allocations: 0.5117 MB / 0.5696 GB, free: 1.867 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.275e-05/0.01321, allocations: 36.62 kB / 0.5697 GB, free: 1.832 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.541e-05/0.01331, allocations: 153.7 kB / 0.5698 GB, free: 1.629 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.01346, allocations: 216.2 kB / 0.57 GB, free: 1.371 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01346, allocations: 7.938 kB / 0.57 GB, free: 1.363 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003411/0.0138, allocations: 315.6 kB / 0.5703 GB, free: 1.039 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.01381, allocations: 6.812 kB / 0.5703 GB, free: 1.035 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01382, allocations: 4 kB / 0.5704 GB, free: 1.031 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002825/0.0141, allocations: 119 kB / 0.5705 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.01424, allocations: 59.91 kB / 0.5705 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.01606, allocations: 5.214 MB / 0.5756 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.819e-05/0.01616, allocations: 16.03 kB / 0.5756 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.01617, allocations: 8 kB / 0.5756 GB, free: 11.26 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 9.202e-05/0.01626, allocations: 172.5 kB / 0.5758 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.01631, allocations: 43.69 kB / 0.5758 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.01634, allocations: 46.27 kB / 0.5759 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.01634, allocations: 4 kB / 0.5759 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01635, allocations: 0 / 0.5759 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01635, allocations: 4 kB / 0.5759 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.01653, allocations: 209.1 kB / 0.5761 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01653, allocations: 0 / 0.5761 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.968e-05/0.01662, allocations: 31.98 kB / 0.5761 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00024/0.01686, allocations: 119 kB / 0.5762 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.01687, allocations: 11.92 kB / 0.5762 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.01876, allocations: 5.212 MB / 0.5813 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01876, allocations: 8.031 kB / 0.5813 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.01908, allocations: 409.2 kB / 0.5817 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.01913, allocations: 35.84 kB / 0.5818 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.01915, allocations: 11.94 kB / 0.5818 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/0.01924, allocations: 11.98 kB / 0.5818 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.01927, allocations: 23.91 kB / 0.5818 GB, free: 4.508 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.01928, allocations: 8.031 kB / 0.5818 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.52e-05/0.01937, allocations: 201.1 kB / 0.582 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.1e-08/0.01937, allocations: 0 / 0.582 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002744/0.01964, allocations: 100 kB / 0.5821 GB, free: 4.207 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.259e-05/0.01972, allocations: 95.25 kB / 0.5822 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000533/0.02025, allocations: 0.6623 MB / 0.5828 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02025, allocations: 4 kB / 0.5829 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002573/0.02051, allocations: 0.5729 MB / 0.5834 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.02079, allocations: 73.58 kB / 0.5835 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000823/0.02161, allocations: 0.6589 MB / 0.5841 GB, free: 2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.155e-05/0.02169, allocations: 129.3 kB / 0.5842 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.93e-05/0.02178, allocations: 38.94 kB / 0.5843 GB, free: 1.816 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.02192, allocations: 134.2 kB / 0.5844 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.02192, allocations: 0 / 0.5844 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of Templates: time 0.006374/0.02829, allocations: 4.789 MB / 0.5891 GB, free: 13 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.524648721795529]