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.001004/0.001004, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001025/0.001025, allocations: 173 kB / 23.49 MB, free: 1.059 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.048/1.048, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.001761/0.001761, allocations: 233.6 kB / 260.5 MB, free: 12.9 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.727/0.727, allocations: 138.4 MB / 455.4 MB, free: 1.469 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.633e-06/1.633e-06, allocations: 0 / 0.555 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.03e-05, allocations: 5.125 kB / 0.555 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.006007/0.006037, allocations: 4.454 MB / 0.5594 GB, free: 12.37 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.00823, allocations: 1.889 MB / 0.5612 GB, free: 10.47 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.008399, allocations: 11.94 kB / 0.5612 GB, free: 10.46 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009156/0.009314, allocations: 0.6029 MB / 0.5618 GB, free: 9.855 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.009695, allocations: 270.3 kB / 0.5621 GB, free: 9.59 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.01007, allocations: 255.2 kB / 0.5623 GB, free: 9.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004602/0.01053, allocations: 0.6343 MB / 0.5629 GB, free: 8.703 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004439/0.01098, allocations: 343.1 kB / 0.5633 GB, free: 8.371 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000266/0.01124, allocations: 351.2 kB / 0.5636 GB, free: 8.027 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.01157, allocations: 243.3 kB / 0.5638 GB, free: 7.789 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.01161, allocations: 36 kB / 0.5639 GB, free: 7.754 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002584/0.01187, allocations: 235.4 kB / 0.5641 GB, free: 7.523 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.01199, allocations: 171.5 kB / 0.5642 GB, free: 7.355 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.01211, allocations: 155.7 kB / 0.5644 GB, free: 7.203 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004427/0.01256, allocations: 470.4 kB / 0.5648 GB, free: 6.742 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.01256, allocations: 8 kB / 0.5648 GB, free: 6.734 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01256, allocations: 0 / 0.5648 GB, free: 6.734 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.01257, allocations: 0 / 0.5648 GB, free: 6.734 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.0008624/0.01343, allocations: 0.7647 MB / 0.5656 GB, free: 5.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.01346, allocations: 12.75 kB / 0.5656 GB, free: 5.918 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006355/0.0141, allocations: 220.3 kB / 0.5658 GB, free: 5.703 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.01439, allocations: 279.4 kB / 0.5661 GB, free: 5.398 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.01441, allocations: 25.38 kB / 0.5661 GB, free: 5.375 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.01446, allocations: 40.3 kB / 0.5661 GB, free: 5.336 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/0.01493, allocations: 0.5306 MB / 0.5667 GB, free: 4.723 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.01494, allocations: 4.172 kB / 0.5667 GB, free: 4.719 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.01497, allocations: 20.38 kB / 0.5667 GB, free: 4.699 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.215e-05/0.01501, allocations: 32.58 kB / 0.5667 GB, free: 4.668 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002554/0.01527, allocations: 167.7 kB / 0.5669 GB, free: 4.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.0168, allocations: 2.039 MB / 0.5689 GB, free: 2.379 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.01712, allocations: 198.8 kB / 0.5691 GB, free: 2.172 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.747e-05/0.0172, allocations: 51.67 kB / 0.5691 GB, free: 2.117 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.01721, allocations: 4 kB / 0.5691 GB, free: 2.113 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.01724, allocations: 45.38 kB / 0.5692 GB, free: 2.059 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 2.164e-06/0.01724, allocations: 0 / 0.5692 GB, free: 2.059 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.001203/0.01844, allocations: 0.6783 MB / 0.5698 GB, free: 1.332 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.01847, allocations: 55.41 kB / 0.5699 GB, free: 1.266 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.01866, allocations: 316.2 kB / 0.5702 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.01868, allocations: 29.7 kB / 0.5702 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.0188, allocations: 282.8 kB / 0.5705 GB, free: 0.625 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/0.01885, allocations: 87.27 kB / 0.5706 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.205e-05/0.01892, allocations: 63.64 kB / 0.5706 GB, free: 476 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.01906, allocations: 0.5195 MB / 0.5711 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/0.01913, allocations: 44.64 kB / 0.5712 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.01926, allocations: 161.8 kB / 0.5713 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.01947, allocations: 238.1 kB / 0.5715 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01947, allocations: 4 kB / 0.5716 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003985/0.01987, allocations: 338.4 kB / 0.5719 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.01988, allocations: 4 kB / 0.5719 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.01989, allocations: 4 kB / 0.5719 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003151/0.0202, allocations: 123.3 kB / 0.572 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.02036, allocations: 63.91 kB / 0.5721 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.02249, allocations: 5.294 MB / 0.5772 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.0226, allocations: 8 kB / 0.5772 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.02261, allocations: 16 kB / 0.5773 GB, free: 9.152 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.0001138/0.02272, allocations: 180.5 kB / 0.5774 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.02277, allocations: 35.86 kB / 0.5775 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.0228, allocations: 38.36 kB / 0.5775 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.0228, allocations: 3.984 kB / 0.5775 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.02281, allocations: 4 kB / 0.5775 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.02281, allocations: 0 / 0.5775 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.02304, allocations: 276.3 kB / 0.5778 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.02305, allocations: 0 / 0.5778 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.02315, allocations: 31.98 kB / 0.5778 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/0.02342, allocations: 115 kB / 0.5779 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.02343, allocations: 8 kB / 0.5779 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.02547, allocations: 5.283 MB / 0.5831 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02548, allocations: 0 / 0.5831 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.02589, allocations: 445.2 kB / 0.5835 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/0.02596, allocations: 43.97 kB / 0.5835 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.02599, allocations: 12 kB / 0.5836 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.02611, allocations: 7.984 kB / 0.5836 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.02615, allocations: 23.91 kB / 0.5836 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.02616, allocations: 4 kB / 0.5836 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001216/0.02628, allocations: 217.1 kB / 0.5838 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.02628, allocations: 0 / 0.5838 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003103/0.02659, allocations: 95.94 kB / 0.5839 GB, free: 1.902 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.000106/0.0267, allocations: 107.2 kB / 0.584 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005413/0.02724, allocations: 0.6772 MB / 0.5846 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02724, allocations: 0 / 0.5846 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.02752, allocations: 0.5942 MB / 0.5852 GB, free: 416 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.02784, allocations: 64.94 kB / 0.5853 GB, free: 352 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.02889, allocations: 0.6387 MB / 0.5859 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.66e-05/0.02896, allocations: 132.6 kB / 0.586 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.02908, allocations: 50.92 kB / 0.5861 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.02912, allocations: 24.5 kB / 0.5861 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/0.02912, allocations: 0 / 0.5861 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of Templates: time 0.006264/0.03539, allocations: 4.41 MB / 0.5904 GB, free: 11.14 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.8820176972076297]