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.001669/0.001669, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002056/0.002056, allocations: 166 kB / 22.45 MB, free: 5.375 MB / 14.72 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.452/1.452, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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.002425/0.002425, allocations: 233.2 kB / 259.4 MB, free: 472 kB / 238.1 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.077/1.077, allocations: 138.4 MB / 454.3 MB, free: 2.016 MB / 366.1 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.693e-06/1.693e-06, allocations: 0 / 0.6468 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.993e-05, allocations: 6.281 kB / 0.6468 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.006151/0.006181, allocations: 4.229 MB / 0.6509 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.259/0.2651, allocations: 1.796 MB / 0.6526 GB, free: 53.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.2653, allocations: 12.47 kB / 0.6527 GB, free: 53.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.2667, allocations: 0.5958 MB / 0.6532 GB, free: 53.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004483/0.2672, allocations: 272.5 kB / 0.6535 GB, free: 53.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.2677, allocations: 262.8 kB / 0.6538 GB, free: 53.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004522/0.2681, allocations: 0.6198 MB / 0.6544 GB, free: 53.22 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004388/0.2686, allocations: 347.1 kB / 0.6547 GB, free: 53.19 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.2688, allocations: 352.8 kB / 0.655 GB, free: 53.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003638/0.2692, allocations: 240.7 kB / 0.6553 GB, free: 53.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.601e-05/0.2693, allocations: 36.75 kB / 0.6553 GB, free: 53.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.2696, allocations: 236.5 kB / 0.6555 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.2697, allocations: 160.8 kB / 0.6557 GB, free: 53.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.2698, allocations: 157.1 kB / 0.6558 GB, free: 53.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.2703, allocations: 0.6238 MB / 0.6564 GB, free: 52.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2703, allocations: 0 / 0.6564 GB, free: 52.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2703, allocations: 0 / 0.6564 GB, free: 52.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.2703, allocations: 0 / 0.6564 GB, free: 52.96 MB / 0.5606 GB 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.000979/0.2713, allocations: 0.6593 MB / 0.6571 GB, free: 52.49 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.2713, allocations: 12.12 kB / 0.6571 GB, free: 52.49 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009246/0.2723, allocations: 151.4 kB / 0.6572 GB, free: 52.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.2726, allocations: 272.4 kB / 0.6575 GB, free: 52.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.2726, allocations: 30.12 kB / 0.6575 GB, free: 52.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.2727, allocations: 31.72 kB / 0.6575 GB, free: 52.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006214/0.2733, allocations: 0.6783 MB / 0.6582 GB, free: 51.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.2733, allocations: 10.28 kB / 0.6582 GB, free: 51.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.2734, allocations: 15.84 kB / 0.6582 GB, free: 51.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.2734, allocations: 33.59 kB / 0.6583 GB, free: 51.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000465/0.2739, allocations: 388.1 kB / 0.6586 GB, free: 51.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.2755, allocations: 1.676 MB / 0.6603 GB, free: 50.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.276, allocations: 238.3 kB / 0.6605 GB, free: 50.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.2761, allocations: 98.23 kB / 0.6606 GB, free: 50.26 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.2761, allocations: 3.062 kB / 0.6606 GB, free: 50.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.2761, allocations: 33.5 kB / 0.6606 GB, free: 50.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.2761, allocations: 0 / 0.6606 GB, free: 50.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.001763/0.2779, allocations: 0.9008 MB / 0.6615 GB, free: 49.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.2779, allocations: 55.31 kB / 0.6616 GB, free: 49.69 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.2781, allocations: 281.5 kB / 0.6618 GB, free: 49.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.2781, allocations: 29.7 kB / 0.6619 GB, free: 49.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/0.2782, allocations: 237.7 kB / 0.6621 GB, free: 49.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.2782, allocations: 83.3 kB / 0.6622 GB, free: 49.24 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.232e-05/0.2783, allocations: 62.84 kB / 0.6622 GB, free: 49.19 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.33e-05/0.2784, allocations: 340.8 kB / 0.6625 GB, free: 48.87 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.2785, allocations: 101.9 kB / 0.6626 GB, free: 48.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.2787, allocations: 185 kB / 0.6628 GB, free: 48.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.279, allocations: 329.5 kB / 0.6631 GB, free: 48.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.279, allocations: 0 / 0.6631 GB, free: 48.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006208/0.2796, allocations: 439.8 kB / 0.6636 GB, free: 48.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2796, allocations: 7.156 kB / 0.6636 GB, free: 48.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2797, allocations: 0.6562 kB / 0.6636 GB, free: 48.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000325/0.28, allocations: 102.8 kB / 0.6637 GB, free: 48.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.2802, allocations: 67.66 kB / 0.6637 GB, free: 48.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/0.2823, allocations: 4.003 MB / 0.6676 GB, free: 44.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.2825, allocations: 14.2 kB / 0.6676 GB, free: 44.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.2825, allocations: 11.69 kB / 0.6677 GB, free: 44.41 MB / 0.5606 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.0001415/0.2827, allocations: 185 kB / 0.6678 GB, free: 44.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.2827, allocations: 30.12 kB / 0.6679 GB, free: 44.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.094e-05/0.2828, allocations: 40.56 kB / 0.6679 GB, free: 44.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2828, allocations: 2.781 kB / 0.6679 GB, free: 44.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/0.2828, allocations: 3 kB / 0.6679 GB, free: 44.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2828, allocations: 3.469 kB / 0.6679 GB, free: 44.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.2831, allocations: 285.8 kB / 0.6682 GB, free: 44.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2831, allocations: 0 / 0.6682 GB, free: 44.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.2833, allocations: 36.03 kB / 0.6682 GB, free: 44.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002774/0.2835, allocations: 93.77 kB / 0.6683 GB, free: 43.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.2836, allocations: 7.062 kB / 0.6683 GB, free: 43.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.2855, allocations: 3.994 MB / 0.6722 GB, free: 40.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2855, allocations: 0 / 0.6722 GB, free: 40.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006523/0.2862, allocations: 0.5566 MB / 0.6728 GB, free: 39.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.413e-05/0.2863, allocations: 46.12 kB / 0.6728 GB, free: 39.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.2863, allocations: 4 kB / 0.6728 GB, free: 39.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.2865, allocations: 15.44 kB / 0.6728 GB, free: 39.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.2865, allocations: 14.89 kB / 0.6728 GB, free: 39.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.2866, allocations: 9.094 kB / 0.6728 GB, free: 39.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001451/0.2867, allocations: 188.7 kB / 0.673 GB, free: 39.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2867, allocations: 0 / 0.673 GB, free: 39.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004146/0.2871, allocations: 99.5 kB / 0.6731 GB, free: 39.7 MB / 0.5606 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 9.411e-05/0.2872, allocations: 106.9 kB / 0.6732 GB, free: 39.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006473/0.2879, allocations: 0.5954 MB / 0.6738 GB, free: 39.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2879, allocations: 0 / 0.6738 GB, free: 39.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003672/0.2882, allocations: 458.4 kB / 0.6742 GB, free: 38.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.2887, allocations: 65.55 kB / 0.6743 GB, free: 38.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008781/0.2896, allocations: 0.6838 MB / 0.675 GB, free: 38.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.2897, allocations: 224.6 kB / 0.6752 GB, free: 38.28 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.2899, allocations: 61.06 kB / 0.6752 GB, free: 38.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.2899, allocations: 21.91 kB / 0.6753 GB, free: 38.26 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.2899, allocations: 0 / 0.6753 GB, free: 38.26 MB / 0.5606 GB Notification: Performance of Templates: time 0.008453/0.2984, allocations: 4.347 MB / 0.6795 GB, free: 37.8 MB / 0.5606 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.907439772039652] Failed to read output from testmodel.py, exit status != 0: 0.30583440884947777 0.31650541099999996 0.04364286799999994 Calling exit ...