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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] 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.002343/0.002343, allocations: 288.7 kB / 303.6 MB, free: 3.664 MB / 238.1 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 1.035/1.035, allocations: 180.9 MB / 0.5268 GB, free: 2.723 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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002683/0.002683, allocations: 107.8 kB / 0.726 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5076/0.5102, allocations: 94.14 MB / 0.8179 GB, free: 7.438 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001527/0.5118, allocations: 0.5924 MB / 0.8185 GB, free: 7.078 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.512, allocations: 97.42 kB / 0.8186 GB, free: 7.012 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.544e-05/0.512, allocations: 1.094 kB / 0.8186 GB, free: 7.012 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.512, allocations: 0 / 0.8186 GB, free: 7.012 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 3.507e-05/0.5121, allocations: 7.938 kB / 0.8186 GB, free: 7.004 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.5123, allocations: 14.09 kB / 0.8186 GB, free: 7 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 4.326e-05/0.5123, allocations: 7.094 kB / 0.8186 GB, free: 7 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.5124, allocations: 1.406 kB / 0.8186 GB, free: 7 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.5124, allocations: 6.219 kB / 0.8186 GB, free: 6.996 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.5124, allocations: 9.188 kB / 0.8186 GB, free: 6.992 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.5125, allocations: 0 / 0.8186 GB, free: 6.992 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 5.331e-05/0.5125, allocations: 14.42 kB / 0.8186 GB, free: 6.988 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.5125, allocations: 1.312 kB / 0.8186 GB, free: 6.988 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.5125, allocations: 5.344 kB / 0.8186 GB, free: 6.984 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 7.484e-05/0.5126, allocations: 19.62 kB / 0.8187 GB, free: 6.977 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5126, allocations: 3.234 kB / 0.8187 GB, free: 6.977 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5126, allocations: 1 kB / 0.8187 GB, free: 6.977 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.5126, allocations: 0 / 0.8187 GB, free: 6.977 MB / 0.5763 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.0002499/0.5129, allocations: 324.2 kB / 0.819 GB, free: 6.621 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.5129, allocations: 10.06 kB / 0.819 GB, free: 6.621 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.5131, allocations: 8.672 kB / 0.819 GB, free: 6.621 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.754e-05/0.5131, allocations: 160.4 kB / 0.8191 GB, free: 6.426 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5131, allocations: 5.375 kB / 0.8191 GB, free: 6.422 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-06/0.5131, allocations: 2.5 kB / 0.8191 GB, free: 6.422 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.5132, allocations: 45.53 kB / 0.8192 GB, free: 6.383 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.5132, allocations: 192 / 0.8192 GB, free: 6.383 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.5132, allocations: 3.938 kB / 0.8192 GB, free: 6.379 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.5132, allocations: 0.9688 kB / 0.8192 GB, free: 6.379 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.561e-05/0.5133, allocations: 10.77 kB / 0.8192 GB, free: 6.379 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.526e-05/0.5134, allocations: 152.3 kB / 0.8194 GB, free: 6.188 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.5136, allocations: 45.19 kB / 0.8194 GB, free: 6.152 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.5136, allocations: 13.2 kB / 0.8194 GB, free: 6.141 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.5136, allocations: 8.062 kB / 0.8194 GB, free: 6.137 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.5136, allocations: 31.5 kB / 0.8194 GB, free: 6.098 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.5136, allocations: 0 / 0.8194 GB, free: 6.098 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3): time 0.0001862/0.5138, allocations: 67.45 kB / 0.8195 GB, free: 6.047 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.5138, allocations: 52.53 kB / 0.8196 GB, free: 5.984 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.915e-05/0.5139, allocations: 89.86 kB / 0.8196 GB, free: 5.887 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.5139, allocations: 34.7 kB / 0.8197 GB, free: 5.848 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 8.345e-06/0.5139, allocations: 80.14 kB / 0.8198 GB, free: 5.766 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.5139, allocations: 5.203 kB / 0.8198 GB, free: 5.762 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.5139, allocations: 15.64 kB / 0.8198 GB, free: 5.746 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.771e-05/0.514, allocations: 319.7 kB / 0.8201 GB, free: 5.426 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-05/0.514, allocations: 11.72 kB / 0.8201 GB, free: 5.422 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.859e-05/0.514, allocations: 3.781 kB / 0.8201 GB, free: 5.422 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.926e-05/0.5141, allocations: 20.38 kB / 0.8201 GB, free: 5.41 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5141, allocations: 0.875 kB / 0.8201 GB, free: 5.41 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.562e-05/0.5142, allocations: 50.91 kB / 0.8202 GB, free: 5.371 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.5142, allocations: 5.094 kB / 0.8202 GB, free: 5.371 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.5142, allocations: 0.6562 kB / 0.8202 GB, free: 5.371 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.5142, allocations: 9 kB / 0.8202 GB, free: 5.363 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.5146, allocations: 42.91 kB / 0.8202 GB, free: 5.363 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009217/0.5155, allocations: 1.41 MB / 0.8216 GB, free: 3.918 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.702e-05/0.5155, allocations: 5.25 kB / 0.8216 GB, free: 3.914 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.5155, allocations: 1.094 kB / 0.8216 GB, free: 3.914 MB / 0.5763 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 4.508e-05/0.5156, allocations: 116.2 kB / 0.8217 GB, free: 3.797 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.5156, allocations: 1.344 kB / 0.8217 GB, free: 3.797 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.122e-05/0.5156, allocations: 4 kB / 0.8217 GB, free: 3.785 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.5156, allocations: 0.6875 kB / 0.8217 GB, free: 3.785 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.5156, allocations: 5 kB / 0.8217 GB, free: 3.781 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5156, allocations: 0 / 0.8217 GB, free: 3.781 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.566e-05/0.5157, allocations: 163.5 kB / 0.8219 GB, free: 3.578 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5157, allocations: 0.75 kB / 0.8219 GB, free: 3.578 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.516, allocations: 45.81 kB / 0.8219 GB, free: 3.578 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.516, allocations: 4 kB / 0.8219 GB, free: 3.574 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.516, allocations: 1.25 kB / 0.8219 GB, free: 3.574 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009863/0.517, allocations: 1.403 MB / 0.8233 GB, free: 18.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.517, allocations: 0.7812 kB / 0.8233 GB, free: 18.14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.5171, allocations: 80.52 kB / 0.8234 GB, free: 18.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.5172, allocations: 77.92 kB / 0.8234 GB, free: 17.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.5172, allocations: 12.12 kB / 0.8235 GB, free: 17.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.552e-05/0.5172, allocations: 0.8438 kB / 0.8235 GB, free: 17.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.5172, allocations: 5.5 kB / 0.8235 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.5172, allocations: 0.8438 kB / 0.8235 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.067e-05/0.5173, allocations: 76.09 kB / 0.8235 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5173, allocations: 4 kB / 0.8235 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001811/0.5174, allocations: 7.219 kB / 0.8236 GB, free: 17.87 MB / 0.5919 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.0001282/0.5176, allocations: 98.7 kB / 0.8236 GB, free: 17.78 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004372/0.518, allocations: 69.23 kB / 0.8237 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.518, allocations: 0 / 0.8237 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.5184, allocations: 60.12 kB / 0.8238 GB, free: 17.76 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.5185, allocations: 5 kB / 0.8238 GB, free: 17.76 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.5188, allocations: 134.7 kB / 0.8239 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.5191, allocations: 0.6768 MB / 0.8246 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.5191, allocations: 9.312 kB / 0.8246 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.5191, allocations: 0 / 0.8246 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of Templates: time 0.002175/0.5213, allocations: 0.5923 MB / 0.8251 GB, free: 16.89 MB / 0.5919 GB " [Timeout remaining time 659] 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: 8.113703005947173] Failed to read output from testmodel.py, exit status != 0: 0.5285106291994452 0.538913803 0.023671646 Calling exit ...