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.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.001251/0.001251, allocations: 113.8 kB / 17.61 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.001235/0.001235, allocations: 186 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.427/1.427, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.00231/0.00231, allocations: 287.6 kB / 304.8 MB, free: 3.473 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.068/1.068, allocations: 180.9 MB / 0.5281 GB, free: 1.883 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.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 0.002779/0.002779, allocations: 99.84 kB / 0.7283 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4918/0.4946, allocations: 94.16 MB / 0.8203 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.00289/0.4975, allocations: 1.46 MB / 0.8217 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003186/0.4978, allocations: 94.22 kB / 0.8218 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.228e-05/0.4979, allocations: 0 / 0.8218 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.4979, allocations: 0 / 0.8218 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.769e-05/0.498, allocations: 5 kB / 0.8218 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.4982, allocations: 24.44 kB / 0.8218 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.378e-05/0.4983, allocations: 18.34 kB / 0.8219 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.4984, allocations: 14.03 kB / 0.8219 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.309e-05/0.4984, allocations: 11.44 kB / 0.8219 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.837e-05/0.4985, allocations: 15.23 kB / 0.8219 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.4985, allocations: 2.406 kB / 0.8219 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.068e-05/0.4986, allocations: 20.61 kB / 0.8219 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.4986, allocations: 5.156 kB / 0.8219 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.4986, allocations: 10.28 kB / 0.8219 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.4987, allocations: 33.31 kB / 0.822 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.4987, allocations: 0 / 0.822 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4988, allocations: 0 / 0.822 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.4988, allocations: 1 kB / 0.822 GB, free: 3.367 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.0005126/0.4993, allocations: 349.2 kB / 0.8223 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4993, allocations: 9.438 kB / 0.8223 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.4995, allocations: 16.81 kB / 0.8223 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.4997, allocations: 173.7 kB / 0.8225 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.4997, allocations: 1.438 kB / 0.8225 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.4997, allocations: 1.781 kB / 0.8225 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.4999, allocations: 53.7 kB / 0.8225 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4999, allocations: 4.188 kB / 0.8225 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.4999, allocations: 3.938 kB / 0.8225 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4999, allocations: 0.9375 kB / 0.8225 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.5001, allocations: 54.72 kB / 0.8226 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.5006, allocations: 258.9 kB / 0.8228 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.5007, allocations: 63.06 kB / 0.8229 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.5009, allocations: 25.91 kB / 0.8229 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.5009, allocations: 0 / 0.8229 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.5009, allocations: 35.94 kB / 0.823 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.5009, allocations: 0 / 0.823 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004336/0.5013, allocations: 107.9 kB / 0.8231 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.5014, allocations: 60.48 kB / 0.8231 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.222e-05/0.5015, allocations: 102 kB / 0.8232 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.5015, allocations: 25.7 kB / 0.8232 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.5015, allocations: 85.78 kB / 0.8233 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.5016, allocations: 8.078 kB / 0.8233 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.5016, allocations: 16.94 kB / 0.8234 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5017, allocations: 310.8 kB / 0.8237 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.5018, allocations: 25.88 kB / 0.8237 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.214e-05/0.5019, allocations: 20.7 kB / 0.8237 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.5021, allocations: 63.48 kB / 0.8238 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5021, allocations: 0 / 0.8238 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002491/0.5024, allocations: 79.91 kB / 0.8238 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.5024, allocations: 8.406 kB / 0.8238 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5024, allocations: 0 / 0.8238 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.5024, allocations: 0 / 0.8238 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.5025, allocations: 15.83 kB / 0.8239 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.5025, allocations: 0 / 0.8239 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.5026, allocations: 13.56 kB / 0.8239 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.5026, allocations: 3.938 kB / 0.8239 GB, free: 1.469 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 (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.019e-05/0.5027, allocations: 112 kB / 0.824 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.5027, allocations: 5.109 kB / 0.824 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.5028, allocations: 12.7 kB / 0.824 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.5028, allocations: 1.094 kB / 0.824 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5028, allocations: 7.938 kB / 0.824 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5028, allocations: 1.281 kB / 0.824 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.503, allocations: 164 kB / 0.8242 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.503, allocations: 0 / 0.8242 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.944e-05/0.503, allocations: 11.11 kB / 0.8242 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.503, allocations: 1.219 kB / 0.8242 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.5031, allocations: 0 / 0.8242 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.5031, allocations: 0 / 0.8242 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5031, allocations: 1.062 kB / 0.8242 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.5033, allocations: 182.7 kB / 0.8243 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.5034, allocations: 78.67 kB / 0.8244 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.5034, allocations: 5.219 kB / 0.8244 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.5035, allocations: 7.828 kB / 0.8244 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.5035, allocations: 1.344 kB / 0.8244 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.5036, allocations: 5.438 kB / 0.8244 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.307e-05/0.5036, allocations: 87.73 kB / 0.8245 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.5036, allocations: 0 / 0.8245 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002147/0.5038, allocations: 9.469 kB / 0.8245 GB, free: 0.7656 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 (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.0001274/0.5039, allocations: 95.28 kB / 0.8246 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.5042, allocations: 53.45 kB / 0.8247 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5042, allocations: 4.062 kB / 0.8247 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.5043, allocations: 27.47 kB / 0.8247 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.5046, allocations: 5 kB / 0.8247 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.505, allocations: 124.9 kB / 0.8248 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.5053, allocations: 0.6822 MB / 0.8255 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.099e-05/0.5054, allocations: 5.219 kB / 0.8255 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.5054, allocations: 12.53 kB / 0.8255 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.5054, allocations: 0 / 0.8255 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.003053/0.5084, allocations: 0.5858 MB / 0.8261 GB, free: 15.51 MB / 0.5762 GB " [Timeout remaining time 659] 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.172012009657919]