Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.0014/0.0014, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001515/0.001515, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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.002627/0.002627, allocations: 287.4 kB / 312.7 MB, free: 2.695 MB / 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.239/1.239, allocations: 180.6 MB / 0.5369 GB, free: 14.65 MB / 382.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002972/0.002972, allocations: 103.9 kB / 0.74 GB, free: 27.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1684, allocations: 95.38 MB / 0.8331 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002616/0.171, allocations: 1.464 MB / 0.8346 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002678/0.1713, allocations: 92.59 kB / 0.8346 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.1713, allocations: 0 / 0.8346 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.1714, allocations: 3.938 kB / 0.8347 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.591e-05/0.1714, allocations: 0 / 0.8347 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.1716, allocations: 23.91 kB / 0.8347 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.758e-05/0.1716, allocations: 27.88 kB / 0.8347 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.395e-05/0.1717, allocations: 7.984 kB / 0.8347 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.938e-05/0.1718, allocations: 8 kB / 0.8347 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.75e-05/0.1718, allocations: 11.91 kB / 0.8347 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1718, allocations: 4 kB / 0.8347 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.756e-05/0.1719, allocations: 15.98 kB / 0.8347 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.1719, allocations: 4 kB / 0.8348 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.1719, allocations: 7.938 kB / 0.8348 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.172, allocations: 35.83 kB / 0.8348 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.172, allocations: 3.938 kB / 0.8348 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.172, allocations: 0 / 0.8348 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.172, allocations: 8 kB / 0.8348 GB, free: 6.082 MB / 0.5762 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.0004064/0.1724, allocations: 266.2 kB / 0.8351 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1725, allocations: 13.94 kB / 0.8351 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.1726, allocations: 12.92 kB / 0.8351 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.683e-05/0.1727, allocations: 106.5 kB / 0.8352 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.1728, allocations: 8.375 kB / 0.8352 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.1728, allocations: 4.359 kB / 0.8352 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.1729, allocations: 58.17 kB / 0.8353 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.173, allocations: 4.188 kB / 0.8353 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.173, allocations: 3.938 kB / 0.8353 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.173, allocations: 0 / 0.8353 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.1732, allocations: 51.94 kB / 0.8353 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.1735, allocations: 200.6 kB / 0.8355 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.1737, allocations: 54.48 kB / 0.8356 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.1738, allocations: 36.89 kB / 0.8356 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1738, allocations: 7.922 kB / 0.8356 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1738, allocations: 30.56 kB / 0.8356 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1738, allocations: 0 / 0.8356 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003996/0.1742, allocations: 105.6 kB / 0.8357 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.1743, allocations: 55.53 kB / 0.8358 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.419e-05/0.1744, allocations: 105.8 kB / 0.8359 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.1744, allocations: 25.7 kB / 0.8359 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.1744, allocations: 88.14 kB / 0.836 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.1745, allocations: 7.891 kB / 0.836 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.1745, allocations: 13.66 kB / 0.836 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1746, allocations: 322.8 kB / 0.8363 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.1747, allocations: 19.98 kB / 0.8363 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.481e-05/0.1748, allocations: 27.97 kB / 0.8364 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.175, allocations: 48.81 kB / 0.8364 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.175, allocations: 0 / 0.8364 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002397/0.1753, allocations: 85.55 kB / 0.8365 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1753, allocations: 7.984 kB / 0.8365 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1753, allocations: 4.094 kB / 0.8365 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1753, allocations: 0 / 0.8365 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/0.1754, allocations: 11.98 kB / 0.8365 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1754, allocations: 3.938 kB / 0.8365 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.693e-05/0.1754, allocations: 4 kB / 0.8365 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.1755, allocations: 4.25 kB / 0.8365 GB, free: 4.145 MB / 0.5762 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.501e-05/0.1755, allocations: 114.5 kB / 0.8366 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.1756, allocations: 7.938 kB / 0.8366 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.1756, allocations: 7.562 kB / 0.8366 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1756, allocations: 4 kB / 0.8367 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1756, allocations: 4 kB / 0.8367 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.1756, allocations: 0 / 0.8367 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.1757, allocations: 109.3 kB / 0.8368 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1757, allocations: 0 / 0.8368 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.08e-05/0.1758, allocations: 11.98 kB / 0.8368 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1758, allocations: 3.938 kB / 0.8368 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.1758, allocations: 0 / 0.8368 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.1758, allocations: 0 / 0.8368 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1758, allocations: 0 / 0.8368 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.1761, allocations: 183.4 kB / 0.837 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.1761, allocations: 11.89 kB / 0.837 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.1762, allocations: 0 / 0.837 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.256e-05/0.1762, allocations: 11.92 kB / 0.837 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.1763, allocations: 4 kB / 0.837 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1763, allocations: 0 / 0.837 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.82e-05/0.1763, allocations: 87.27 kB / 0.8371 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1763, allocations: 0 / 0.8371 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002177/0.1766, allocations: 8.031 kB / 0.8371 GB, free: 3.527 MB / 0.5762 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.877e-05/0.1767, allocations: 95.25 kB / 0.8372 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.1769, allocations: 47.95 kB / 0.8372 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1769, allocations: 0 / 0.8372 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.177, allocations: 27.97 kB / 0.8372 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.1773, allocations: 9.438 kB / 0.8372 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.1776, allocations: 133.5 kB / 0.8374 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.044e-05/0.1777, allocations: 59.34 kB / 0.8374 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.1777, allocations: 0 / 0.8374 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.1777, allocations: 11.44 kB / 0.8374 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.1777, allocations: 0 / 0.8374 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of Templates: time 0.002924/0.1806, allocations: 0.6751 MB / 0.8381 GB, free: 2.438 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.017066007480025] Failed to read output from testmodel.py, exit status != 0: 0.18764107301831245 0.20257465700000002 0.027555224000000003 Calling exit ...