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.0006772/0.0006772, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009394/0.001617, allocations: 435.8 kB / 10.33 MB, free: 368 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.000701/0.000701, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009319/0.001633, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9454/0.9454, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0804/1.026, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.001266/0.001266, allocations: 237.8 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000959/0.002225, allocations: 470.8 kB / 244.7 MB, free: 14.19 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.6998/0.6998, allocations: 138.7 MB / 384.1 MB, free: 496 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08296/0.7828, allocations: 42.39 MB / 426.5 MB, free: 5.965 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.343e-06/1.343e-06, allocations: 0 / 427.8 MB, free: 4.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.087e-05, allocations: 2.312 kB / 427.8 MB, free: 4.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001175/0.001196, allocations: 0.6508 MB / 428.5 MB, free: 3.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001243/0.00132, allocations: 103.7 kB / 428.6 MB, free: 3.828 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.187e-05/0.001332, allocations: 0 / 428.6 MB, free: 3.828 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.278e-06/0.001336, allocations: 0 / 428.6 MB, free: 3.828 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.775e-05/0.001354, allocations: 0 / 428.6 MB, free: 3.828 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.59e-05/0.00144, allocations: 19.8 kB / 428.6 MB, free: 3.809 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.895e-05/0.001489, allocations: 8 kB / 428.6 MB, free: 3.801 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.001529, allocations: 4 kB / 428.6 MB, free: 3.797 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.166e-05/0.001571, allocations: 7.984 kB / 428.6 MB, free: 3.789 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.719e-05/0.001638, allocations: 0 / 428.6 MB, free: 3.789 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.001651, allocations: 0 / 428.6 MB, free: 3.789 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.117e-05/0.001733, allocations: 15.98 kB / 428.7 MB, free: 3.773 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.001744, allocations: 7.938 kB / 428.7 MB, free: 3.766 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.435e-05/0.001758, allocations: 0 / 428.7 MB, free: 3.766 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.333e-05/0.001841, allocations: 19.97 kB / 428.7 MB, free: 3.746 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-05/0.001855, allocations: 0 / 428.7 MB, free: 3.746 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.001856, allocations: 0 / 428.7 MB, free: 3.746 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.001871, allocations: 0 / 428.7 MB, free: 3.746 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.0002948/0.002165, allocations: 220.7 kB / 428.9 MB, free: 3.504 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.002199, allocations: 11.98 kB / 428.9 MB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.00234, allocations: 89.97 kB / 429 MB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.623e-05/0.002396, allocations: 113.8 kB / 429.1 MB, free: 3.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.002411, allocations: 384 / 429.1 MB, free: 3.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.002418, allocations: 4.375 kB / 429.1 MB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.554e-05/0.002503, allocations: 46.95 kB / 429.2 MB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.002509, allocations: 4.188 kB / 429.2 MB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.129e-06/0.002514, allocations: 384 / 429.2 MB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.002519, allocations: 384 / 429.2 MB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.239e-05/0.002541, allocations: 7.938 kB / 429.2 MB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.883e-05/0.00262, allocations: 61.03 kB / 429.2 MB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.305e-05/0.002693, allocations: 30.5 kB / 429.3 MB, free: 3.066 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.605e-05/0.002709, allocations: 20.89 kB / 429.3 MB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.00272, allocations: 0 / 429.3 MB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.002739, allocations: 34.56 kB / 429.3 MB, free: 3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.364e-06/0.002742, allocations: 7.922 kB / 429.3 MB, free: 2.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 8.778e-05/0.002829, allocations: 37.69 kB / 429.4 MB, free: 2.949 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.002858, allocations: 55.34 kB / 429.4 MB, free: 2.883 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.721e-05/0.002885, allocations: 89.86 kB / 429.5 MB, free: 2.785 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.002899, allocations: 29.7 kB / 429.5 MB, free: 2.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.095e-05/0.00292, allocations: 80.14 kB / 429.6 MB, free: 2.668 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.002947, allocations: 11.91 kB / 429.6 MB, free: 2.656 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.002975, allocations: 17.72 kB / 429.6 MB, free: 2.633 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.003054, allocations: 314.8 kB / 429.9 MB, free: 2.316 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.003065, allocations: 7.984 kB / 429.9 MB, free: 2.309 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-06/0.003071, allocations: 0 / 429.9 MB, free: 2.309 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.943e-05/0.0031, allocations: 16.84 kB / 430 MB, free: 2.289 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.003102, allocations: 0 / 430 MB, free: 2.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.832e-05/0.00314, allocations: 41.62 kB / 430 MB, free: 2.242 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.003155, allocations: 8 kB / 430 MB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.003159, allocations: 0 / 430 MB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.193e-06/0.003166, allocations: 0 / 430 MB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.003307, allocations: 27.97 kB / 430 MB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005789/0.003886, allocations: 1.196 MB / 431.2 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.0039, allocations: 7.891 kB / 431.2 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-06/0.003903, allocations: 0 / 431.2 MB, free: 0.9219 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 4.764e-05/0.003951, allocations: 118 kB / 431.4 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-06/0.003955, allocations: 0 / 431.4 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.516e-06/0.003964, allocations: 11.5 kB / 431.4 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.11e-07/0.003964, allocations: 0 / 431.4 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.003967, allocations: 3.938 kB / 431.4 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.003969, allocations: 0 / 431.4 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.175e-05/0.00401, allocations: 61.91 kB / 431.4 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.004013, allocations: 8 kB / 431.4 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.004118, allocations: 31.97 kB / 431.5 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-06/0.00412, allocations: 0 / 431.5 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.004122, allocations: 0 / 431.5 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-06/0.004126, allocations: 4 kB / 431.5 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1941/0.1983, allocations: 1.189 MB / 432.7 MB, free: 2.605 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.1983, allocations: 0.7188 kB / 432.7 MB, free: 2.605 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.661e-05/0.1983, allocations: 61.5 kB / 432.7 MB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-06/0.1983, allocations: 7.203 kB / 432.7 MB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.737e-05/0.1984, allocations: 1.469 kB / 432.7 MB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.1984, allocations: 6.5 kB / 432.7 MB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.1984, allocations: 3.219 kB / 432.7 MB, free: 2.543 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.34e-06/0.1984, allocations: 4.859 kB / 432.8 MB, free: 2.535 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1984, allocations: 0.6562 kB / 432.8 MB, free: 2.535 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001129/0.1985, allocations: 3.906 kB / 432.8 MB, free: 2.535 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.496e-05/0.1986, allocations: 81.03 kB / 432.8 MB, free: 2.469 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.1988, allocations: 49.12 kB / 432.9 MB, free: 2.453 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.1988, allocations: 2.031 kB / 432.9 MB, free: 2.453 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.912e-05/0.1989, allocations: 31.73 kB / 432.9 MB, free: 2.445 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.402e-05/0.1989, allocations: 5.594 kB / 432.9 MB, free: 2.445 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001837/0.1991, allocations: 97.95 kB / 433 MB, free: 2.355 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.516e-05/0.1991, allocations: 59.02 kB / 433.1 MB, free: 2.285 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.057e-05/0.1991, allocations: 5.391 kB / 433.1 MB, free: 2.285 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.1992, allocations: 51.06 kB / 433.1 MB, free: 2.242 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1992, allocations: 0 / 433.1 MB, free: 2.242 MB / 410.7 MB Notification: Performance of Templates: time 0.001864/0.201, allocations: 0.5098 MB / 433.6 MB, free: 2.23 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.2843916146084666]