Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.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.001319/0.001319, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001425/0.001425, allocations: 173.9 kB / 22.46 MB, free: 5.359 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.405/1.405, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.002438/0.002438, allocations: 241.2 kB / 259.4 MB, free: 484 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.053/1.053, 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.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.6468 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.576e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.006602/0.006627, allocations: 3.042 MB / 0.6497 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002992/0.009619, allocations: 1.289 MB / 0.651 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.009769, allocations: 11.94 kB / 0.651 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.01109, allocations: 338.6 kB / 0.6513 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004564/0.01155, allocations: 139.2 kB / 0.6515 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.01202, allocations: 147.4 kB / 0.6516 GB, free: 116 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.2632/0.2752, allocations: 316.5 kB / 0.6519 GB, free: 53.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004798/0.2756, allocations: 175.6 kB / 0.6521 GB, free: 53.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.2759, allocations: 172.9 kB / 0.6522 GB, free: 53.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.2762, allocations: 125.3 kB / 0.6524 GB, free: 53.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.2762, allocations: 20.72 kB / 0.6524 GB, free: 53.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.2765, allocations: 157.3 kB / 0.6525 GB, free: 53.33 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.2765, allocations: 85.31 kB / 0.6526 GB, free: 53.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.31e-05/0.2766, allocations: 78.19 kB / 0.6527 GB, free: 53.31 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.277, allocations: 340.8 kB / 0.653 GB, free: 53.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.277, allocations: 7.906 kB / 0.653 GB, free: 53.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.277, allocations: 0.9375 kB / 0.653 GB, free: 53.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.463e-06/0.277, allocations: 0 / 0.653 GB, free: 53.29 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006389/0.2776, allocations: 452 kB / 0.6534 GB, free: 52.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2777, allocations: 15.25 kB / 0.6535 GB, free: 52.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005437/0.2782, allocations: 78.48 kB / 0.6535 GB, free: 52.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.2784, allocations: 181.2 kB / 0.6537 GB, free: 52.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2785, allocations: 16.97 kB / 0.6537 GB, free: 52.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.2785, allocations: 21 kB / 0.6537 GB, free: 52.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.2788, allocations: 377.8 kB / 0.6541 GB, free: 52.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2789, allocations: 3.562 kB / 0.6541 GB, free: 52.63 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.2789, allocations: 8.844 kB / 0.6541 GB, free: 52.63 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/0.2789, allocations: 20.95 kB / 0.6541 GB, free: 52.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.2792, allocations: 198.6 kB / 0.6543 GB, free: 52.63 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009367/0.2801, allocations: 0.9812 MB / 0.6553 GB, free: 51.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.2803, allocations: 90.94 kB / 0.6554 GB, free: 51.92 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.858e-05/0.2803, allocations: 29.08 kB / 0.6554 GB, free: 51.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.2803, allocations: 0 / 0.6554 GB, free: 51.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.2804, allocations: 41.06 kB / 0.6554 GB, free: 51.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.2804, allocations: 0 / 0.6554 GB, free: 51.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004209/0.2808, allocations: 146.3 kB / 0.6556 GB, free: 51.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.2808, allocations: 58.03 kB / 0.6556 GB, free: 51.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.2809, allocations: 187.3 kB / 0.6558 GB, free: 51.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.281, allocations: 25.7 kB / 0.6558 GB, free: 51.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.281, allocations: 175.2 kB / 0.656 GB, free: 51.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.281, allocations: 26.55 kB / 0.656 GB, free: 51.47 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.2811, allocations: 43.34 kB / 0.6561 GB, free: 51.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.76e-05/0.2811, allocations: 323.8 kB / 0.6564 GB, free: 51.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.523e-05/0.2812, allocations: 36.06 kB / 0.6564 GB, free: 51.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.2813, allocations: 99.64 kB / 0.6565 GB, free: 51.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.2814, allocations: 152.3 kB / 0.6567 GB, free: 50.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2814, allocations: 0.5625 kB / 0.6567 GB, free: 50.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002486/0.2816, allocations: 189.8 kB / 0.6568 GB, free: 50.94 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2816, allocations: 6.781 kB / 0.6568 GB, free: 50.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2817, allocations: 5.438 kB / 0.6568 GB, free: 50.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/0.2818, allocations: 27.28 kB / 0.6569 GB, free: 50.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2819, allocations: 28.66 kB / 0.6569 GB, free: 50.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006732/0.2826, allocations: 1.293 MB / 0.6582 GB, free: 49.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2827, allocations: 18.19 kB / 0.6582 GB, free: 49.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.2827, allocations: 11.84 kB / 0.6582 GB, free: 49.73 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.426e-05/0.2828, allocations: 143.5 kB / 0.6583 GB, free: 49.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.2828, allocations: 11.33 kB / 0.6583 GB, free: 49.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.2828, allocations: 19.56 kB / 0.6584 GB, free: 49.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2829, allocations: 3.938 kB / 0.6584 GB, free: 49.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2829, allocations: 3.938 kB / 0.6584 GB, free: 49.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.2829, allocations: 0.7188 kB / 0.6584 GB, free: 49.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.2832, allocations: 363.9 kB / 0.6587 GB, free: 49.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2832, allocations: 9.906 kB / 0.6587 GB, free: 49.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.2832, allocations: 9.062 kB / 0.6587 GB, free: 49.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.479e-05/0.2833, allocations: 24.95 kB / 0.6588 GB, free: 49.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.2833, allocations: 0 / 0.6588 GB, free: 49.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005914/0.2839, allocations: 1.289 MB / 0.66 GB, free: 48.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2839, allocations: 0 / 0.66 GB, free: 48.17 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.2841, allocations: 214.4 kB / 0.6602 GB, free: 48.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.2841, allocations: 24.98 kB / 0.6602 GB, free: 48.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.2841, allocations: 3.938 kB / 0.6602 GB, free: 48.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.2842, allocations: 9.781 kB / 0.6603 GB, free: 48.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.2842, allocations: 14.59 kB / 0.6603 GB, free: 48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.2843, allocations: 3.438 kB / 0.6603 GB, free: 48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.969e-05/0.2843, allocations: 134 kB / 0.6604 GB, free: 47.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2843, allocations: 0.6875 kB / 0.6604 GB, free: 47.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003039/0.2846, allocations: 54.42 kB / 0.6605 GB, free: 47.92 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.715e-05/0.2847, allocations: 100.7 kB / 0.6605 GB, free: 47.83 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003079/0.285, allocations: 204.1 kB / 0.6607 GB, free: 47.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.285, allocations: 0 / 0.6607 GB, free: 47.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.2852, allocations: 144.6 kB / 0.6609 GB, free: 47.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.2855, allocations: 30.73 kB / 0.6609 GB, free: 47.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.286, allocations: 346.6 kB / 0.6612 GB, free: 47.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.473e-05/0.2861, allocations: 135.7 kB / 0.6614 GB, free: 47.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.977e-05/0.2861, allocations: 21.56 kB / 0.6614 GB, free: 47.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.2862, allocations: 18.19 kB / 0.6614 GB, free: 47.32 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.2862, allocations: 0 / 0.6614 GB, free: 47.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.00454/0.2907, allocations: 1.653 MB / 0.663 GB, free: 47.18 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.696125607937574] Failed to read output from testmodel.py, exit status != 0: 0.2999368831515312 0.308093634 0.028563645000000002 Calling exit ...