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.001323/0.001323, allocations: 78.41 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001508/0.001508, allocations: 168.4 kB / 22.46 MB, free: 5.355 MB / 14.72 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.44/1.44, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.00251/0.00251, allocations: 234.6 kB / 259.4 MB, free: 480 kB / 238.1 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 1.074/1.074, allocations: 138.4 MB / 454.3 MB, free: 2.016 MB / 366.1 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.563e-06/1.563e-06, allocations: 0 / 0.6468 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.015e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001474/0.001494, allocations: 0.6042 MB / 0.6474 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002636/0.001757, allocations: 91.67 kB / 0.6475 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.497e-05/0.001772, allocations: 0 / 0.6475 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.047e-05/0.001783, allocations: 0 / 0.6475 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.073e-05/0.001824, allocations: 3.938 kB / 0.6475 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.002014, allocations: 23.86 kB / 0.6475 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.87e-05/0.002062, allocations: 4 kB / 0.6476 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.002103, allocations: 3.984 kB / 0.6476 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.807e-05/0.002141, allocations: 7.984 kB / 0.6476 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.231e-05/0.002213, allocations: 11.94 kB / 0.6476 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.002227, allocations: 0 / 0.6476 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.684e-05/0.002284, allocations: 11.98 kB / 0.6476 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.002296, allocations: 0 / 0.6476 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.383e-05/0.002309, allocations: 0 / 0.6476 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.367e-05/0.002393, allocations: 19.97 kB / 0.6476 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.002395, allocations: 0 / 0.6476 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.61e-07/0.002395, allocations: 0 / 0.6476 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.002399, allocations: 0 / 0.6476 GB, free: 4.223 MB / 0.5606 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.0003422/0.002741, allocations: 246.4 kB / 0.6478 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.002779, allocations: 9.344 kB / 0.6478 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.002925, allocations: 16.92 kB / 0.6479 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.83e-05/0.003014, allocations: 105.8 kB / 0.648 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.003032, allocations: 384 / 0.648 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.003043, allocations: 384 / 0.648 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.003172, allocations: 46.19 kB / 0.648 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.00318, allocations: 192 / 0.648 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.003188, allocations: 384 / 0.648 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.003193, allocations: 384 / 0.648 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.611e-05/0.003279, allocations: 19.92 kB / 0.648 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.003409, allocations: 101.3 kB / 0.6481 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.003609, allocations: 38.59 kB / 0.6482 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.158e-05/0.003661, allocations: 18.2 kB / 0.6482 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.003675, allocations: 3.938 kB / 0.6482 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.003706, allocations: 38.5 kB / 0.6482 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.003707, allocations: 0 / 0.6482 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002088/0.003916, allocations: 53.67 kB / 0.6483 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.003952, allocations: 55.41 kB / 0.6483 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.649e-05/0.004009, allocations: 89.86 kB / 0.6484 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.004028, allocations: 29.7 kB / 0.6484 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.277e-05/0.004061, allocations: 80.14 kB / 0.6485 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.004094, allocations: 15.84 kB / 0.6485 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.004123, allocations: 9.719 kB / 0.6485 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.004271, allocations: 322.8 kB / 0.6488 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.126e-05/0.004312, allocations: 7.984 kB / 0.6489 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.004344, allocations: 4 kB / 0.6489 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.203e-05/0.004436, allocations: 33 kB / 0.6489 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.004438, allocations: 0 / 0.6489 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001212/0.004559, allocations: 53.66 kB / 0.6489 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.00457, allocations: 4 kB / 0.6489 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.004574, allocations: 0 / 0.6489 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.004585, allocations: 4 kB / 0.649 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.004987, allocations: 43.94 kB / 0.649 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.006411, allocations: 1.278 MB / 0.6502 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.446e-05/0.006445, allocations: 12.02 kB / 0.6503 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.00645, allocations: 0 / 0.6503 GB, free: 1.238 MB / 0.5606 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 8.625e-05/0.006537, allocations: 105.8 kB / 0.6504 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.00655, allocations: 7.938 kB / 0.6504 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.493e-05/0.006565, allocations: 7.531 kB / 0.6504 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.006567, allocations: 0 / 0.6504 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.61e-07/0.006567, allocations: 0 / 0.6504 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.006569, allocations: 0 / 0.6504 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.551e-05/0.006655, allocations: 101.3 kB / 0.6505 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.006656, allocations: 4.062 kB / 0.6505 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.007054, allocations: 51.88 kB / 0.6505 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.007056, allocations: 0 / 0.6505 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.007065, allocations: 3.938 kB / 0.6505 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2756/0.2827, allocations: 1.273 MB / 0.6518 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2827, allocations: 0 / 0.6518 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.2828, allocations: 77.08 kB / 0.6518 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.2828, allocations: 7.75 kB / 0.6518 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-06/0.2828, allocations: 2.812 kB / 0.6518 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.144e-05/0.2828, allocations: 2.688 kB / 0.6519 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.2829, allocations: 7.203 kB / 0.6519 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.2829, allocations: 0 / 0.6519 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 1.313e-05/0.2829, allocations: 78.36 kB / 0.6519 GB, free: 55.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4e-08/0.2829, allocations: 0 / 0.6519 GB, free: 55.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002497/0.2831, allocations: 5.312 kB / 0.6519 GB, free: 55.59 MB / 0.5606 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.0001296/0.2833, allocations: 99.95 kB / 0.652 GB, free: 55.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004839/0.2837, allocations: 59.47 kB / 0.6521 GB, free: 55.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2837, allocations: 0 / 0.6521 GB, free: 55.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.284, allocations: 43.45 kB / 0.6521 GB, free: 55.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.2841, allocations: 4.547 kB / 0.6521 GB, free: 55.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.2845, allocations: 93.84 kB / 0.6522 GB, free: 55.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.923e-05/0.2845, allocations: 59.86 kB / 0.6523 GB, free: 55.35 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.775e-05/0.2845, allocations: 3.406 kB / 0.6523 GB, free: 55.35 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.2845, allocations: 13.14 kB / 0.6523 GB, free: 55.34 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.2845, allocations: 0 / 0.6523 GB, free: 55.34 MB / 0.5606 GB Notification: Performance of Templates: time 0.002718/0.2873, allocations: 470 kB / 0.6527 GB, free: 55.33 MB / 0.5606 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.695989526808262] Failed to read output from testmodel.py, exit status != 0: 0.29491256177425385 0.304252709 0.29965183 Calling exit ...