Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.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.0006564/0.0006564, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007319/0.0007319, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8543/0.8543, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.001476/0.001476, allocations: 234.3 kB / 260.2 MB, free: 13.01 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.6349/0.6349, allocations: 138.4 MB / 455.1 MB, free: 29.98 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.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.6475 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.056e-05, allocations: 5.375 kB / 0.6475 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.2591/0.2592, allocations: 1.451 MB / 0.649 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000236/0.2594, allocations: 89.42 kB / 0.649 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.2594, allocations: 2.031 kB / 0.649 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/0.2595, allocations: 3.938 kB / 0.649 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.752e-05/0.2595, allocations: 1.094 kB / 0.649 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.2597, allocations: 19.06 kB / 0.6491 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.598e-05/0.2598, allocations: 30.41 kB / 0.6491 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.047e-05/0.2598, allocations: 3.219 kB / 0.6491 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.773e-05/0.2599, allocations: 11.73 kB / 0.6491 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.359e-05/0.2599, allocations: 10.64 kB / 0.6491 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.2599, allocations: 2.625 kB / 0.6491 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.331e-05/0.26, allocations: 16.39 kB / 0.6491 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.26, allocations: 8.734 kB / 0.6491 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.719e-05/0.26, allocations: 6.766 kB / 0.6492 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.2601, allocations: 38.83 kB / 0.6492 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.2601, allocations: 0 / 0.6492 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2601, allocations: 2.25 kB / 0.6492 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.2601, allocations: 0.75 kB / 0.6492 GB, free: 56.41 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002977/0.2604, allocations: 268.3 kB / 0.6494 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2605, allocations: 11.84 kB / 0.6495 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.2606, allocations: 16.14 kB / 0.6495 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.749e-05/0.2606, allocations: 110.2 kB / 0.6496 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.2606, allocations: 3.641 kB / 0.6496 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.2607, allocations: 1.688 kB / 0.6496 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.2608, allocations: 59.36 kB / 0.6496 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.2608, allocations: 5.688 kB / 0.6496 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.2608, allocations: 0.9375 kB / 0.6496 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2608, allocations: 5.188 kB / 0.6497 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.2609, allocations: 53.56 kB / 0.6497 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.2612, allocations: 201.6 kB / 0.6499 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.769e-05/0.2613, allocations: 57.58 kB / 0.6499 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.927e-05/0.2613, allocations: 30.59 kB / 0.65 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.2613, allocations: 0.5156 kB / 0.65 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.2613, allocations: 33.97 kB / 0.65 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.2613, allocations: 5.188 kB / 0.65 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002437/0.2616, allocations: 107 kB / 0.6501 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.2616, allocations: 52.86 kB / 0.6502 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.867e-05/0.2617, allocations: 110 kB / 0.6503 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.099e-06/0.2617, allocations: 25.7 kB / 0.6503 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.256e-05/0.2617, allocations: 84.91 kB / 0.6504 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.2617, allocations: 11.42 kB / 0.6504 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.2617, allocations: 13.3 kB / 0.6504 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.166e-05/0.2618, allocations: 316.3 kB / 0.6507 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.437e-05/0.2618, allocations: 25.31 kB / 0.6507 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.942e-05/0.2619, allocations: 22.89 kB / 0.6508 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.262, allocations: 59.2 kB / 0.6508 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.262, allocations: 0 / 0.6508 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/0.2621, allocations: 79.44 kB / 0.6509 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2621, allocations: 6.125 kB / 0.6509 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2621, allocations: 7.812 kB / 0.6509 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.2621, allocations: 0 / 0.6509 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.2622, allocations: 13.16 kB / 0.6509 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.2622, allocations: 0.9062 kB / 0.6509 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.934e-05/0.2622, allocations: 7.922 kB / 0.6509 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.2622, allocations: 0.7188 kB / 0.6509 GB, free: 55.02 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.2623, allocations: 114.1 kB / 0.651 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.2623, allocations: 2.062 kB / 0.651 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.2623, allocations: 11.08 kB / 0.651 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2623, allocations: 1.344 kB / 0.651 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2623, allocations: 3.938 kB / 0.651 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2623, allocations: 1.25 kB / 0.651 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.431e-05/0.2624, allocations: 115 kB / 0.6512 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.2624, allocations: 1.062 kB / 0.6512 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.878e-05/0.2624, allocations: 11.11 kB / 0.6512 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-07/0.2624, allocations: 1 kB / 0.6512 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.2624, allocations: 1.375 kB / 0.6512 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.2624, allocations: 3.938 kB / 0.6512 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.2624, allocations: 1.469 kB / 0.6512 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.2626, allocations: 177.6 kB / 0.6513 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-06/0.2626, allocations: 7.266 kB / 0.6514 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.2626, allocations: 1.406 kB / 0.6514 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.165e-05/0.2626, allocations: 12.09 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.2626, allocations: 4.828 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.2626, allocations: 2.281 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.919e-05/0.2627, allocations: 85.31 kB / 0.6515 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2627, allocations: 0 / 0.6515 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001381/0.2628, allocations: 7.062 kB / 0.6515 GB, free: 54.55 MB / 0.5573 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.957e-05/0.2629, allocations: 97.39 kB / 0.6516 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.263, allocations: 58.27 kB / 0.6516 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-06/0.263, allocations: 0 / 0.6516 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.693e-05/0.2631, allocations: 26.16 kB / 0.6516 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.2633, allocations: 3.156 kB / 0.6516 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.2635, allocations: 154.2 kB / 0.6518 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.36e-05/0.2636, allocations: 65.78 kB / 0.6518 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.2636, allocations: 10.52 kB / 0.6519 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of SimCode: time 6.61e-07/0.2636, allocations: 0 / 0.6519 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of Templates: time 0.001449/0.265, allocations: 0.6456 MB / 0.6525 GB, free: 54.24 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.928014520555735] Failed to read output from testmodel.py, exit status != 0: 0.2703979257494211 0.27736967700000004 0.015693744000000003 Calling exit ...