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.001879/0.001879, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.00208/0.00208, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.601/1.601, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.003441/0.003441, allocations: 252.9 kB / 259.8 MB, free: 12.85 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 1.171/1.171, allocations: 138.5 MB / 454.7 MB, free: 1.516 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.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: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.432e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.003232/0.003266, allocations: 1.464 MB / 0.5558 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003125/0.003579, allocations: 88.66 kB / 0.5559 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.00362, allocations: 0 / 0.5559 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.00365, allocations: 11.86 kB / 0.5559 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.562e-05/0.003706, allocations: 0 / 0.5559 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.003924, allocations: 15.92 kB / 0.5559 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.00403, allocations: 27.92 kB / 0.5559 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.736e-05/0.004127, allocations: 8 kB / 0.5559 GB, free: 15.24 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.122e-05/0.004218, allocations: 19.91 kB / 0.5559 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.084e-05/0.004259, allocations: 7.984 kB / 0.5559 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.004281, allocations: 4 kB / 0.5559 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.004353, allocations: 12 kB / 0.556 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.004375, allocations: 3.984 kB / 0.556 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.004403, allocations: 11.94 kB / 0.556 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.004549, allocations: 31.89 kB / 0.556 GB, free: 15.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.004556, allocations: 4 kB / 0.556 GB, free: 15.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004556, allocations: 0 / 0.556 GB, free: 15.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.004562, allocations: 8 kB / 0.556 GB, free: 15.14 MB / 490.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.0005394/0.005101, allocations: 364.2 kB / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.005146, allocations: 8.75 kB / 0.5564 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.005337, allocations: 12.89 kB / 0.5564 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.005472, allocations: 116.6 kB / 0.5565 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.005489, allocations: 384 / 0.5565 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.005498, allocations: 384 / 0.5565 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.00567, allocations: 54.19 kB / 0.5565 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.005679, allocations: 192 / 0.5565 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.00569, allocations: 4.375 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.005694, allocations: 4.375 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.005862, allocations: 35.91 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.006294, allocations: 259.8 kB / 0.5568 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.006458, allocations: 55.05 kB / 0.5569 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.639e-05/0.006544, allocations: 31.66 kB / 0.5569 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.006563, allocations: 0 / 0.5569 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.006604, allocations: 37.39 kB / 0.557 GB, free: 14.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.006605, allocations: 7.938 kB / 0.557 GB, free: 14.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003591/0.006964, allocations: 81.59 kB / 0.557 GB, free: 13.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.007012, allocations: 51.41 kB / 0.5571 GB, free: 13.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.007161, allocations: 169.9 kB / 0.5573 GB, free: 13.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.007187, allocations: 29.7 kB / 0.5573 GB, free: 13.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.523e-05/0.007282, allocations: 134.8 kB / 0.5574 GB, free: 13.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.007301, allocations: 3.953 kB / 0.5574 GB, free: 13.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.007349, allocations: 19.38 kB / 0.5574 GB, free: 13.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002718/0.00762, allocations: 0.4883 MB / 0.5579 GB, free: 13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.197e-05/0.007692, allocations: 20.11 kB / 0.5579 GB, free: 12.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.377e-05/0.007776, allocations: 15.98 kB / 0.5579 GB, free: 12.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.00791, allocations: 39.67 kB / 0.558 GB, free: 12.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007912, allocations: 256 / 0.558 GB, free: 12.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001949/0.008107, allocations: 69.67 kB / 0.558 GB, free: 12.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.008122, allocations: 4 kB / 0.5581 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.008133, allocations: 12.03 kB / 0.5581 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.008147, allocations: 0 / 0.5581 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.869e-05/0.008236, allocations: 7.984 kB / 0.5581 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.008244, allocations: 11.92 kB / 0.5581 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.132e-05/0.008285, allocations: 0 / 0.5581 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.008294, allocations: 4 kB / 0.5581 GB, free: 12.81 MB / 490.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 (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 0.0001168/0.00841, allocations: 152.6 kB / 0.5582 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.008443, allocations: 11.94 kB / 0.5582 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.524e-05/0.008478, allocations: 11.56 kB / 0.5583 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.008479, allocations: 0 / 0.5583 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.008483, allocations: 4 kB / 0.5583 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.008486, allocations: 0 / 0.5583 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.008686, allocations: 120.6 kB / 0.5584 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.008687, allocations: 0 / 0.5584 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.008751, allocations: 8 kB / 0.5584 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.008753, allocations: 0 / 0.5584 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.008761, allocations: 0 / 0.5584 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.008767, allocations: 3.938 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.00877, allocations: 3.984 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.009059, allocations: 215.9 kB / 0.5586 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.009071, allocations: 7.938 kB / 0.5586 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.009086, allocations: 7.938 kB / 0.5586 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.009159, allocations: 7.938 kB / 0.5586 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.009195, allocations: 0 / 0.5586 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.009205, allocations: 7.984 kB / 0.5586 GB, free: 12.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.208e-05/0.009287, allocations: 131.2 kB / 0.5587 GB, free: 12.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009287, allocations: 0 / 0.5587 GB, free: 12.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.0095, allocations: 4 kB / 0.5588 GB, free: 12.07 MB / 490.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 (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 0.0001342/0.009634, allocations: 99.28 kB / 0.5588 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.009839, allocations: 43.66 kB / 0.5589 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009841, allocations: 0 / 0.5589 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.548e-05/0.009936, allocations: 35.61 kB / 0.5589 GB, free: 11.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.01017, allocations: 2.969 kB / 0.5589 GB, free: 11.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.01054, allocations: 129.4 kB / 0.559 GB, free: 11.72 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.049e-05/0.01061, allocations: 63.47 kB / 0.5591 GB, free: 11.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.22e-05/0.01064, allocations: 4 kB / 0.5591 GB, free: 11.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.01068, allocations: 8.5 kB / 0.5591 GB, free: 11.63 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01068, allocations: 0 / 0.5591 GB, free: 11.63 MB / 490.7 MB Notification: Performance of Templates: time 0.003478/0.01416, allocations: 0.6699 MB / 0.5598 GB, free: 10.96 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.819252896937542]