Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.0007444/0.0007444, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007174/0.0007174, allocations: 177.9 kB / 23.21 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.8709/0.8709, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.001487/0.001487, allocations: 221.3 kB / 260.2 MB, free: 13.03 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.6526/0.6526, 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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0 / 0.6476 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.801e-05, allocations: 5.094 kB / 0.6476 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001174/0.001202, allocations: 0.6003 MB / 0.6482 GB, free: 0.6992 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002361/0.001438, allocations: 84.44 kB / 0.6482 GB, free: 0.6172 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.658e-05/0.001454, allocations: 8 kB / 0.6482 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.001469, allocations: 0 / 0.6482 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.21e-05/0.001512, allocations: 0 / 0.6482 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.001716, allocations: 23.84 kB / 0.6483 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.323e-05/0.001769, allocations: 7.938 kB / 0.6483 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.001811, allocations: 4 kB / 0.6483 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.37e-05/0.001844, allocations: 7.984 kB / 0.6483 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.819e-05/0.001912, allocations: 4 kB / 0.6483 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.001926, allocations: 0 / 0.6483 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.638e-05/0.001983, allocations: 11.98 kB / 0.6483 GB, free: 0.5508 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.001995, allocations: 4 kB / 0.6483 GB, free: 0.5469 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.521e-05/0.002011, allocations: 7.984 kB / 0.6483 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 8.86e-05/0.002099, allocations: 15.97 kB / 0.6483 GB, free: 0.5234 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.002101, allocations: 0 / 0.6483 GB, free: 0.5234 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.283e-06/0.002102, allocations: 0 / 0.6483 GB, free: 0.5234 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.002107, allocations: 0 / 0.6483 GB, free: 0.5234 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.000287/0.002394, allocations: 242.4 kB / 0.6486 GB, free: 260 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.002439, allocations: 9.938 kB / 0.6486 GB, free: 252 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.002561, allocations: 8.922 kB / 0.6486 GB, free: 244 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.173e-05/0.002613, allocations: 109.8 kB / 0.6487 GB, free: 108 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.002632, allocations: 8.312 kB / 0.6487 GB, free: 100 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.002641, allocations: 4.375 kB / 0.6487 GB, free: 96 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.954e-05/0.002741, allocations: 38.19 kB / 0.6487 GB, free: 52 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.002748, allocations: 192 / 0.6487 GB, free: 52 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.002759, allocations: 4.375 kB / 0.6487 GB, free: 48 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.002763, allocations: 384 / 0.6487 GB, free: 48 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.94e-05/0.002812, allocations: 15.92 kB / 0.6488 GB, free: 32 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2628/0.2656, allocations: 97.33 kB / 0.6488 GB, free: 57.04 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.2657, allocations: 43.25 kB / 0.6489 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.2658, allocations: 12.91 kB / 0.6489 GB, free: 57.01 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.2658, allocations: 1.547 kB / 0.6489 GB, free: 57.01 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.2658, allocations: 37.12 kB / 0.6489 GB, free: 56.97 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.2658, allocations: 1.156 kB / 0.6489 GB, free: 56.97 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0001751/0.266, allocations: 56.17 kB / 0.649 GB, free: 56.94 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.266, allocations: 52.62 kB / 0.649 GB, free: 56.88 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.305e-05/0.266, allocations: 92.08 kB / 0.6491 GB, free: 56.78 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.266, allocations: 25.7 kB / 0.6492 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.944e-06/0.266, allocations: 82.89 kB / 0.6492 GB, free: 56.67 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.2661, allocations: 11.22 kB / 0.6492 GB, free: 56.67 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.2661, allocations: 16.34 kB / 0.6493 GB, free: 56.65 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.452e-05/0.2661, allocations: 320.7 kB / 0.6496 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-05/0.2662, allocations: 6.219 kB / 0.6496 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.095e-05/0.2662, allocations: 10.36 kB / 0.6496 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.286e-05/0.2662, allocations: 22.86 kB / 0.6496 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2662, allocations: 0 / 0.6496 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.888e-05/0.2663, allocations: 51.09 kB / 0.6497 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2663, allocations: 4.125 kB / 0.6497 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2663, allocations: 1.188 kB / 0.6497 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2664, allocations: 0.625 kB / 0.6497 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.2666, allocations: 45.73 kB / 0.6497 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007191/0.2673, allocations: 1.28 MB / 0.651 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.2673, allocations: 2.734 kB / 0.651 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.2673, allocations: 1.219 kB / 0.651 GB, free: 55.05 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.86e-05/0.2674, allocations: 113.1 kB / 0.6511 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/0.2674, allocations: 10.03 kB / 0.6511 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.134e-05/0.2674, allocations: 8 kB / 0.6511 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2674, allocations: 1.844 kB / 0.6511 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2674, allocations: 3.297 kB / 0.6511 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2674, allocations: 1.656 kB / 0.6511 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.835e-05/0.2675, allocations: 100.1 kB / 0.6512 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2675, allocations: 0.9062 kB / 0.6512 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.2677, allocations: 48.03 kB / 0.6512 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2677, allocations: 4.562 kB / 0.6512 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2677, allocations: 8.656 kB / 0.6512 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005298/0.2682, allocations: 1.28 MB / 0.6525 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2682, allocations: 1.375 kB / 0.6525 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.377e-05/0.2683, allocations: 74.89 kB / 0.6526 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-06/0.2683, allocations: 6.781 kB / 0.6526 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-06/0.2683, allocations: 1.672 kB / 0.6526 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.64e-05/0.2683, allocations: 3.219 kB / 0.6526 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.2683, allocations: 5.031 kB / 0.6526 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.2683, allocations: 3.688 kB / 0.6526 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.919e-06/0.2683, allocations: 79.11 kB / 0.6527 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-08/0.2683, allocations: 0.875 kB / 0.6527 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001339/0.2685, allocations: 3.875 kB / 0.6527 GB, free: 53.41 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001166/0.2686, allocations: 98.44 kB / 0.6528 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.2689, allocations: 61.45 kB / 0.6528 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2689, allocations: 0 / 0.6528 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.269, allocations: 66.25 kB / 0.6529 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.2691, allocations: 11.83 kB / 0.6529 GB, free: 53.31 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.2695, allocations: 118.5 kB / 0.653 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.958e-05/0.2695, allocations: 57.47 kB / 0.6531 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.2696, allocations: 10.08 kB / 0.6531 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of SimCode: time 8.52e-07/0.2696, allocations: 0 / 0.6531 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of Templates: time 0.001919/0.2715, allocations: 0.6077 MB / 0.6537 GB, free: 53.12 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.226435276679695] Failed to read output from testmodel.py, exit status != 0: 0.2778001381084323 0.287117122 0.283315686 Calling exit ...