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.0009916/0.0009916, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001609/0.001609, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.002/1.002, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.002067/0.002067, allocations: 242 kB / 260.5 MB, free: 12.7 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.7131/0.7131, allocations: 138.4 MB / 402.2 MB, free: 0.5273 MB / 362.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.613e-06/1.613e-06, allocations: 0 / 462.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081e-05/1.242e-05, allocations: 2.875 kB / 462.4 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001113/0.001126, allocations: 0.668 MB / 463.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002005/0.001326, allocations: 91.59 kB / 463.2 MB, free: 440 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.377e-05/0.00134, allocations: 0 / 463.2 MB, free: 440 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.14e-05/0.001351, allocations: 1.031 kB / 463.2 MB, free: 440 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.00139, allocations: 1.75 kB / 463.2 MB, free: 440 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.001546, allocations: 16.89 kB / 463.2 MB, free: 432 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.528e-05/0.001591, allocations: 5.297 kB / 463.2 MB, free: 432 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.001628, allocations: 8.75 kB / 463.2 MB, free: 428 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.001665, allocations: 4.422 kB / 463.2 MB, free: 428 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.164e-05/0.001737, allocations: 3.438 kB / 463.2 MB, free: 428 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.001751, allocations: 0.9688 kB / 463.2 MB, free: 428 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.8e-05/0.001819, allocations: 18.02 kB / 463.2 MB, free: 424 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.001832, allocations: 0.6562 kB / 463.2 MB, free: 424 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.227e-05/0.001844, allocations: 5.203 kB / 463.2 MB, free: 424 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.195e-05/0.001916, allocations: 19.42 kB / 463.3 MB, free: 416 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.001919, allocations: 2.688 kB / 463.3 MB, free: 416 kB / 410.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.001919, allocations: 0 / 463.3 MB, free: 416 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.866e-06/0.001922, allocations: 0 / 463.3 MB, free: 416 kB / 410.7 MB 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.0001762/0.002098, allocations: 215.4 kB / 463.5 MB, free: 184 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.002129, allocations: 10.47 kB / 463.5 MB, free: 184 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.002232, allocations: 15.38 kB / 463.5 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.544e-05/0.002268, allocations: 106 kB / 463.6 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.00228, allocations: 3.766 kB / 463.6 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-06/0.002285, allocations: 1.75 kB / 463.6 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.315e-05/0.002358, allocations: 51.67 kB / 463.7 MB, free: 0 / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.002365, allocations: 192 / 463.7 MB, free: 0 / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.002371, allocations: 384 / 463.7 MB, free: 0 / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.002377, allocations: 3.859 kB / 463.7 MB, free: 0 / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.119e-05/0.002398, allocations: 7.578 kB / 463.7 MB, free: 0 / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.484e-05/0.002493, allocations: 70.09 kB / 463.7 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.356e-05/0.002566, allocations: 32.72 kB / 463.8 MB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.002581, allocations: 11.5 kB / 463.8 MB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.00259, allocations: 0.5469 kB / 463.8 MB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.002609, allocations: 37 kB / 463.8 MB, free: 15.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.002609, allocations: 0 / 463.8 MB, free: 15.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 7.979e-05/0.002689, allocations: 39.98 kB / 463.9 MB, free: 15.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.002712, allocations: 52.84 kB / 463.9 MB, free: 15.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.001e-05/0.002752, allocations: 91.16 kB / 464 MB, free: 15.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.00276, allocations: 32.39 kB / 464 MB, free: 15.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.672e-05/0.002777, allocations: 80.14 kB / 464.1 MB, free: 15.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.002807, allocations: 8.922 kB / 464.1 MB, free: 15.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.00283, allocations: 13.48 kB / 464.1 MB, free: 15.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.48e-05/0.002895, allocations: 317.9 kB / 464.4 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.002903, allocations: 3.781 kB / 464.4 MB, free: 15.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-06/0.00291, allocations: 3.766 kB / 464.4 MB, free: 15.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.512e-05/0.002945, allocations: 24.5 kB / 464.5 MB, free: 15.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.002946, allocations: 0 / 464.5 MB, free: 15.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.671e-05/0.003023, allocations: 38.11 kB / 464.5 MB, free: 15.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.003033, allocations: 6.156 kB / 464.5 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.003038, allocations: 1 kB / 464.5 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.003048, allocations: 1.156 kB / 464.5 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.003185, allocations: 23.83 kB / 464.5 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007084/0.003893, allocations: 1.196 MB / 465.7 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.518e-05/0.003908, allocations: 10.81 kB / 465.7 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-06/0.003912, allocations: 1.625 kB / 465.7 MB, free: 13.94 MB / 426.7 MB 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 5.135e-05/0.003963, allocations: 109.6 kB / 465.9 MB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-06/0.00397, allocations: 2.188 kB / 465.9 MB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.694e-06/0.003977, allocations: 4.469 kB / 465.9 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.003979, allocations: 0.75 kB / 465.9 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.003981, allocations: 4.156 kB / 465.9 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.003984, allocations: 3.938 kB / 465.9 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.882e-05/0.004033, allocations: 72.72 kB / 465.9 MB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.004034, allocations: 0.7656 kB / 465.9 MB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.00414, allocations: 32.48 kB / 466 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.004142, allocations: 2.25 kB / 466 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.004146, allocations: 0.9375 kB / 466 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004658/0.004611, allocations: 1.2 MB / 467.2 MB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.004613, allocations: 5.188 kB / 467.2 MB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.498e-05/0.004658, allocations: 60.41 kB / 467.2 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-06/0.004661, allocations: 4 kB / 467.2 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-06/0.004666, allocations: 0.75 kB / 467.2 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-06/0.004675, allocations: 2.188 kB / 467.2 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/0.004688, allocations: 7.906 kB / 467.3 MB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.004692, allocations: 6.469 kB / 467.3 MB, free: 12.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.232e-05/0.004704, allocations: 8.844 kB / 467.3 MB, free: 12.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004704, allocations: 0 / 467.3 MB, free: 12.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001012/0.004806, allocations: 5.312 kB / 467.3 MB, free: 12.44 MB / 426.7 MB 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 6.955e-05/0.004875, allocations: 78.34 kB / 467.3 MB, free: 12.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.005022, allocations: 41.28 kB / 467.4 MB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.005024, allocations: 0 / 467.4 MB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.855e-05/0.005102, allocations: 28.84 kB / 467.4 MB, free: 12.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.726e-05/0.00515, allocations: 8.688 kB / 467.4 MB, free: 12.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.00545, allocations: 94.12 kB / 467.5 MB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.451e-05/0.005474, allocations: 56.02 kB / 467.6 MB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.895e-05/0.005493, allocations: 9.547 kB / 467.6 MB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.005524, allocations: 50.88 kB / 467.6 MB, free: 12.13 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.005524, allocations: 0 / 467.6 MB, free: 12.13 MB / 426.7 MB Notification: Performance of Templates: time 0.001713/0.007237, allocations: 0.5118 MB / 468.1 MB, free: 12.11 MB / 426.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4994234130717814]