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.001808/0.001808, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001933/0.001933, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.419/1.419, allocations: 225.6 MB / 249.4 MB, free: 3.133 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.002398/0.002398, allocations: 280.4 kB / 304.8 MB, free: 3.492 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.053/1.053, allocations: 180.9 MB / 0.5281 GB, free: 1.918 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.002719/0.002719, allocations: 111.8 kB / 0.7284 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5287/0.5315, allocations: 94.15 MB / 0.8203 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001659/0.5331, allocations: 0.599 MB / 0.8209 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003045/0.5334, allocations: 94.92 kB / 0.821 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.76e-05/0.5334, allocations: 0 / 0.821 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.5335, allocations: 0 / 0.821 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.343e-05/0.5335, allocations: 3.938 kB / 0.821 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.5337, allocations: 10.3 kB / 0.821 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.362e-05/0.5338, allocations: 12.27 kB / 0.821 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.5338, allocations: 8.953 kB / 0.821 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.883e-05/0.5338, allocations: 7.125 kB / 0.821 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.5339, allocations: 1.312 kB / 0.821 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.5339, allocations: 1.188 kB / 0.821 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.917e-05/0.534, allocations: 14.05 kB / 0.8211 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.534, allocations: 1.125 kB / 0.8211 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.534, allocations: 1.125 kB / 0.8211 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.5341, allocations: 25.66 kB / 0.8211 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.5341, allocations: 3.984 kB / 0.8211 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5341, allocations: 0 / 0.8211 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.5341, allocations: 9.188 kB / 0.8211 GB, free: 4.121 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.0003855/0.5345, allocations: 313.8 kB / 0.8214 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.5345, allocations: 8.031 kB / 0.8214 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.5347, allocations: 14.7 kB / 0.8214 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.5348, allocations: 164.4 kB / 0.8216 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.5348, allocations: 1.5 kB / 0.8216 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.5348, allocations: 1.531 kB / 0.8216 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.535, allocations: 43.62 kB / 0.8216 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.535, allocations: 192 / 0.8216 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.535, allocations: 7.938 kB / 0.8216 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.535, allocations: 1.312 kB / 0.8216 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.853e-05/0.5351, allocations: 10.73 kB / 0.8216 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.5352, allocations: 157.1 kB / 0.8218 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.5354, allocations: 43.75 kB / 0.8218 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.5355, allocations: 16.86 kB / 0.8218 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.5355, allocations: 5.438 kB / 0.8218 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.5355, allocations: 30.56 kB / 0.8219 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5355, allocations: 0 / 0.8219 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002155/0.5357, allocations: 61.11 kB / 0.8219 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.5358, allocations: 52.78 kB / 0.822 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.343e-05/0.5358, allocations: 93.86 kB / 0.8221 GB, free: 3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.5358, allocations: 25.7 kB / 0.8221 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.5359, allocations: 81.45 kB / 0.8222 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.5359, allocations: 9.109 kB / 0.8222 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.5359, allocations: 15.66 kB / 0.8222 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5361, allocations: 316.2 kB / 0.8225 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.253e-05/0.5361, allocations: 16.06 kB / 0.8225 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.095e-05/0.5361, allocations: 7.922 kB / 0.8225 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.381e-05/0.5362, allocations: 20.92 kB / 0.8225 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.5362, allocations: 1.438 kB / 0.8225 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001145/0.5363, allocations: 54.08 kB / 0.8226 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.5363, allocations: 4.312 kB / 0.8226 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.5363, allocations: 1.094 kB / 0.8226 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.5364, allocations: 3.938 kB / 0.8226 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.5367, allocations: 43.5 kB / 0.8227 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.5382, allocations: 1.4 MB / 0.824 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.5382, allocations: 1.188 kB / 0.824 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.5382, allocations: 5.219 kB / 0.824 GB, free: 0.9648 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.515e-05/0.5383, allocations: 118.3 kB / 0.8241 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.5383, allocations: 3.984 kB / 0.8241 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.836e-05/0.5383, allocations: 4.531 kB / 0.8241 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.5383, allocations: 0 / 0.8241 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.5383, allocations: 0.9375 kB / 0.8241 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.5383, allocations: 336 / 0.8241 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.5385, allocations: 164.9 kB / 0.8243 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5385, allocations: 4 kB / 0.8243 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/0.5388, allocations: 43.62 kB / 0.8243 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5388, allocations: 1.594 kB / 0.8244 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.5388, allocations: 3.984 kB / 0.8244 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.5402, allocations: 1.415 MB / 0.8257 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5402, allocations: 1.094 kB / 0.8257 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.5403, allocations: 73.73 kB / 0.8258 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.5404, allocations: 78.14 kB / 0.8259 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-06/0.5404, allocations: 8.906 kB / 0.8259 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.679e-05/0.5404, allocations: 1.5 kB / 0.8259 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.5404, allocations: 9.578 kB / 0.8259 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.5404, allocations: 1.125 kB / 0.8259 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.098e-05/0.5405, allocations: 75.28 kB / 0.826 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.5405, allocations: 0 / 0.826 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001915/0.5407, allocations: 3.25 kB / 0.826 GB, free: 14.85 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 (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.0001348/0.5408, allocations: 106.3 kB / 0.8261 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004605/0.5412, allocations: 60 kB / 0.8261 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5413, allocations: 1.219 kB / 0.8261 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.5415, allocations: 42 kB / 0.8262 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.5416, allocations: 8.078 kB / 0.8262 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.542, allocations: 118.8 kB / 0.8263 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.5423, allocations: 0.6722 MB / 0.827 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.06e-05/0.5423, allocations: 6.125 kB / 0.827 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.5424, allocations: 8.562 kB / 0.827 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.5424, allocations: 0 / 0.827 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of Templates: time 0.002542/0.5449, allocations: 439.1 kB / 0.8274 GB, free: 13.66 MB / 0.5762 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: 6.088280671276152]