Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.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.00162/0.00162, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.00183/0.00183, allocations: 168.5 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.438/1.438, 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.002639/0.002639, allocations: 234.4 kB / 259.4 MB, free: 480 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: 1.969 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.351e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.005493/0.005516, allocations: 3.758 MB / 0.6504 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2556/0.2611, allocations: 1.659 MB / 0.6521 GB, free: 53.44 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002707/0.2614, allocations: 10.38 kB / 0.6521 GB, free: 53.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.2627, allocations: 0.4931 MB / 0.6525 GB, free: 53.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005805/0.2633, allocations: 230.3 kB / 0.6528 GB, free: 53.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.2639, allocations: 219.7 kB / 0.653 GB, free: 53.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003862/0.2642, allocations: 488.4 kB / 0.6534 GB, free: 53.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.2647, allocations: 287.8 kB / 0.6537 GB, free: 53.28 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.2649, allocations: 276.2 kB / 0.654 GB, free: 53.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.2652, allocations: 196.5 kB / 0.6542 GB, free: 53.24 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.2653, allocations: 28.81 kB / 0.6542 GB, free: 53.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003093/0.2656, allocations: 220.6 kB / 0.6544 GB, free: 53.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.881e-05/0.2657, allocations: 137.1 kB / 0.6545 GB, free: 53.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.2658, allocations: 118.5 kB / 0.6546 GB, free: 53.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004674/0.2663, allocations: 0.5142 MB / 0.6551 GB, free: 53.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2663, allocations: 0 / 0.6551 GB, free: 53.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2663, allocations: 0.7812 kB / 0.6551 GB, free: 53.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.2663, allocations: 0 / 0.6551 GB, free: 53.14 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007896/0.2671, allocations: 0.5621 MB / 0.6557 GB, free: 52.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.2671, allocations: 11.47 kB / 0.6557 GB, free: 52.76 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008738/0.268, allocations: 138.9 kB / 0.6558 GB, free: 52.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.2683, allocations: 238 kB / 0.6561 GB, free: 52.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.2683, allocations: 19.7 kB / 0.6561 GB, free: 52.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.2683, allocations: 31.55 kB / 0.6561 GB, free: 52.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.2689, allocations: 0.5724 MB / 0.6567 GB, free: 52.31 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.2689, allocations: 7.812 kB / 0.6567 GB, free: 52.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.2689, allocations: 15.19 kB / 0.6567 GB, free: 52.31 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/0.269, allocations: 28.09 kB / 0.6567 GB, free: 52.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.2693, allocations: 321.2 kB / 0.657 GB, free: 52.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.2707, allocations: 1.505 MB / 0.6585 GB, free: 51.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.271, allocations: 175.2 kB / 0.6587 GB, free: 51.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.2712, allocations: 100.8 kB / 0.6588 GB, free: 51 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.2712, allocations: 0 / 0.6588 GB, free: 51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.2712, allocations: 33.69 kB / 0.6588 GB, free: 50.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.2712, allocations: 0 / 0.6588 GB, free: 50.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0005036/0.2718, allocations: 223.5 kB / 0.659 GB, free: 50.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.845e-05/0.2718, allocations: 61.28 kB / 0.6591 GB, free: 50.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.2719, allocations: 232.9 kB / 0.6593 GB, free: 50.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.272, allocations: 25.7 kB / 0.6593 GB, free: 50.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/0.272, allocations: 209.5 kB / 0.6595 GB, free: 50.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.272, allocations: 61.39 kB / 0.6596 GB, free: 50.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.2721, allocations: 53.25 kB / 0.6596 GB, free: 50.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.2722, allocations: 326.1 kB / 0.6599 GB, free: 50.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.102e-05/0.2722, allocations: 58.03 kB / 0.66 GB, free: 50.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.726e-05/0.2723, allocations: 148.8 kB / 0.6601 GB, free: 49.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.2725, allocations: 215.8 kB / 0.6603 GB, free: 49.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2725, allocations: 0 / 0.6603 GB, free: 49.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003333/0.2729, allocations: 265.8 kB / 0.6606 GB, free: 49.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2729, allocations: 7.062 kB / 0.6606 GB, free: 49.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2729, allocations: 3.062 kB / 0.6606 GB, free: 49.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/0.273, allocations: 27.67 kB / 0.6606 GB, free: 49.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.2732, allocations: 48.66 kB / 0.6607 GB, free: 49.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006789/0.2739, allocations: 1.292 MB / 0.6619 GB, free: 48.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.274, allocations: 28.94 kB / 0.662 GB, free: 48.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.274, allocations: 8.469 kB / 0.662 GB, free: 48.31 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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 0.0001139/0.2742, allocations: 165.8 kB / 0.6621 GB, free: 48.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.2742, allocations: 23.05 kB / 0.6622 GB, free: 48.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.2742, allocations: 26.41 kB / 0.6622 GB, free: 48.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2742, allocations: 0 / 0.6622 GB, free: 48.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2742, allocations: 6.906 kB / 0.6622 GB, free: 48.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2742, allocations: 4 kB / 0.6622 GB, free: 48.13 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006255/0.2749, allocations: 0.5585 MB / 0.6627 GB, free: 47.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2749, allocations: 3.094 kB / 0.6627 GB, free: 47.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-05/0.275, allocations: 20.62 kB / 0.6628 GB, free: 47.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.037e-05/0.275, allocations: 28.03 kB / 0.6628 GB, free: 47.72 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.275, allocations: 11.08 kB / 0.6628 GB, free: 47.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005911/0.2756, allocations: 1.284 MB / 0.664 GB, free: 46.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.2756, allocations: 7.156 kB / 0.6641 GB, free: 46.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.2759, allocations: 312 kB / 0.6644 GB, free: 46.22 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.2759, allocations: 34.95 kB / 0.6644 GB, free: 46.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.2759, allocations: 10.88 kB / 0.6644 GB, free: 46.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.2761, allocations: 11.09 kB / 0.6644 GB, free: 46.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.2761, allocations: 16.77 kB / 0.6644 GB, free: 46.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.2761, allocations: 5.812 kB / 0.6644 GB, free: 46.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001007/0.2762, allocations: 162.9 kB / 0.6646 GB, free: 46.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2762, allocations: 0 / 0.6646 GB, free: 46.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000377/0.2766, allocations: 83.44 kB / 0.6647 GB, free: 46.07 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.926e-05/0.2767, allocations: 106.4 kB / 0.6648 GB, free: 45.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003602/0.2771, allocations: 262 kB / 0.665 GB, free: 45.81 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2771, allocations: 3.312 kB / 0.665 GB, free: 45.81 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.2772, allocations: 174.3 kB / 0.6652 GB, free: 45.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.2777, allocations: 61.98 kB / 0.6652 GB, free: 45.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000656/0.2783, allocations: 0.5338 MB / 0.6658 GB, free: 45.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.2784, allocations: 186.2 kB / 0.6659 GB, free: 45.22 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.2785, allocations: 40.97 kB / 0.666 GB, free: 45.22 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.2786, allocations: 18.69 kB / 0.666 GB, free: 45.21 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.2786, allocations: 0 / 0.666 GB, free: 45.21 MB / 0.5606 GB Notification: Performance of Templates: time 0.005604/0.2842, allocations: 2.425 MB / 0.6684 GB, free: 44.99 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.768486760556698] Failed to read output from testmodel.py, exit status != 0: 0.29194260388612747 0.30210277700000004 0.03326847 Calling exit ...