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.0007832/0.0007832, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002072, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006959/0.0006959, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.001767, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9578/0.9578, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08119/1.039, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001287/0.001287, allocations: 238.2 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001171/0.002458, allocations: 471.7 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7482/0.7482, allocations: 138.7 MB / 384.3 MB, free: 356 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07519/0.8234, allocations: 42.41 MB / 426.7 MB, free: 5.805 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.252e-06/1.252e-06, allocations: 0 / 428.1 MB, free: 4.406 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.072e-05, allocations: 2.312 kB / 428.1 MB, free: 4.402 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00149/0.001511, allocations: 0.6626 MB / 428.8 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001449/0.001655, allocations: 91.67 kB / 428.9 MB, free: 3.648 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.06e-05/0.001666, allocations: 0 / 428.9 MB, free: 3.648 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.047e-06/0.00167, allocations: 0 / 428.9 MB, free: 3.648 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.79e-05/0.001688, allocations: 4 kB / 428.9 MB, free: 3.645 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.57e-05/0.001774, allocations: 23.84 kB / 428.9 MB, free: 3.621 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.352e-05/0.001817, allocations: 4 kB / 428.9 MB, free: 3.617 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.304e-05/0.00185, allocations: 0 / 428.9 MB, free: 3.617 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.05e-05/0.001891, allocations: 11.92 kB / 428.9 MB, free: 3.605 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.001958, allocations: 4 kB / 428.9 MB, free: 3.602 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.001973, allocations: 4 kB / 428.9 MB, free: 3.598 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.486e-05/0.002047, allocations: 15.98 kB / 428.9 MB, free: 3.582 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.002059, allocations: 0 / 428.9 MB, free: 3.582 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.452e-05/0.002073, allocations: 0 / 428.9 MB, free: 3.582 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.341e-05/0.002157, allocations: 15.92 kB / 429 MB, free: 3.566 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.002167, allocations: 0 / 429 MB, free: 3.566 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002168, allocations: 3.938 kB / 429 MB, free: 3.562 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.002178, allocations: 4 kB / 429 MB, free: 3.559 MB / 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.0002691/0.002447, allocations: 224.7 kB / 429.2 MB, free: 3.312 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.002479, allocations: 11.98 kB / 429.2 MB, free: 3.301 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003183/0.005662, allocations: 94.03 kB / 429.3 MB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.198e-05/0.005724, allocations: 101.8 kB / 429.4 MB, free: 3.066 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.00574, allocations: 384 / 429.4 MB, free: 3.066 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.005752, allocations: 4.375 kB / 429.4 MB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.413e-05/0.005846, allocations: 46.95 kB / 429.4 MB, free: 3.008 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.005854, allocations: 4.172 kB / 429.4 MB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.005861, allocations: 384 / 429.4 MB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.005867, allocations: 384 / 429.4 MB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/0.005892, allocations: 15.86 kB / 429.5 MB, free: 2.988 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.701e-05/0.005979, allocations: 61.05 kB / 429.5 MB, free: 2.914 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.187e-05/0.006061, allocations: 30.58 kB / 429.5 MB, free: 2.875 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.006076, allocations: 8.891 kB / 429.6 MB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.006089, allocations: 4 kB / 429.6 MB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.006111, allocations: 34.56 kB / 429.6 MB, free: 2.816 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.006112, allocations: 0 / 429.6 MB, free: 2.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 9.902e-05/0.006211, allocations: 41.62 kB / 429.6 MB, free: 2.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.006239, allocations: 55.41 kB / 429.7 MB, free: 2.703 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.976e-05/0.006269, allocations: 93.84 kB / 429.8 MB, free: 2.602 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.00628, allocations: 29.7 kB / 429.8 MB, free: 2.566 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.961e-05/0.0063, allocations: 84.14 kB / 429.9 MB, free: 2.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.006329, allocations: 7.906 kB / 429.9 MB, free: 2.473 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.006356, allocations: 13.72 kB / 429.9 MB, free: 2.453 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.006436, allocations: 322.8 kB / 430.2 MB, free: 2.129 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.006454, allocations: 0 / 430.2 MB, free: 2.129 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-06/0.006464, allocations: 4 kB / 430.2 MB, free: 2.125 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.119e-05/0.006495, allocations: 8.859 kB / 430.2 MB, free: 2.113 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.006499, allocations: 4 kB / 430.2 MB, free: 2.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.444e-05/0.006553, allocations: 45.62 kB / 430.3 MB, free: 2.059 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.006565, allocations: 7.938 kB / 430.3 MB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.006569, allocations: 0 / 430.3 MB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.006581, allocations: 4 kB / 430.3 MB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.006753, allocations: 23.97 kB / 430.3 MB, free: 2.023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007529/0.007506, allocations: 1.2 MB / 431.5 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.00753, allocations: 12.02 kB / 431.5 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.007534, allocations: 0 / 431.5 MB, free: 0.7305 MB / 410.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.514e-05/0.007589, allocations: 113.8 kB / 431.6 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-06/0.007595, allocations: 0 / 431.6 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.55e-05/0.007611, allocations: 11.52 kB / 431.7 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.007614, allocations: 4 kB / 431.7 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.007617, allocations: 3.938 kB / 431.7 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.00762, allocations: 0 / 431.7 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.615e-05/0.007676, allocations: 61.91 kB / 431.7 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.007678, allocations: 0 / 431.7 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.007808, allocations: 31.97 kB / 431.8 MB, free: 488 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-06/0.007811, allocations: 0 / 431.8 MB, free: 488 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.007813, allocations: 0 / 431.8 MB, free: 488 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.007818, allocations: 4 kB / 431.8 MB, free: 484 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2134/0.2212, allocations: 1.191 MB / 433 MB, free: 2.363 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2212, allocations: 0.6562 kB / 433 MB, free: 2.363 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.251e-05/0.2213, allocations: 64.88 kB / 433 MB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-06/0.2213, allocations: 5.5 kB / 433 MB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.92e-05/0.2213, allocations: 1.125 kB / 433 MB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.2213, allocations: 8.094 kB / 433 MB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.2213, allocations: 1.688 kB / 433 MB, free: 2.301 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.256e-06/0.2213, allocations: 5.516 kB / 433 MB, free: 2.293 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2213, allocations: 0 / 433 MB, free: 2.293 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001052/0.2214, allocations: 3.938 kB / 433 MB, free: 2.293 MB / 410.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 9.835e-05/0.2215, allocations: 82.14 kB / 433.1 MB, free: 2.227 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.2217, allocations: 46.34 kB / 433.2 MB, free: 2.211 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.2217, allocations: 2.688 kB / 433.2 MB, free: 2.211 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.063e-05/0.2218, allocations: 33.77 kB / 433.2 MB, free: 2.203 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.254e-05/0.2218, allocations: 7.719 kB / 433.2 MB, free: 2.203 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001847/0.222, allocations: 98.22 kB / 433.3 MB, free: 2.113 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.525e-05/0.222, allocations: 57.44 kB / 433.4 MB, free: 2.043 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.93e-05/0.2221, allocations: 3.969 kB / 433.4 MB, free: 2.043 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.2221, allocations: 50.83 kB / 433.4 MB, free: 2 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2221, allocations: 0 / 433.4 MB, free: 2 MB / 410.7 MB Notification: Performance of Templates: time 0.001802/0.2239, allocations: 484.9 kB / 433.9 MB, free: 1.988 MB / 410.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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3954218812286854]