Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.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.001298/0.001298, allocations: 105.9 kB / 18.32 MB, free: 3.973 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.001315/0.001315, allocations: 188.5 kB / 21.5 MB, free: 0.8125 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.429/1.429, allocations: 225.6 MB / 250.1 MB, free: 3.152 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.002475/0.002475, allocations: 290.4 kB / 305.5 MB, free: 3.512 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.075/1.075, allocations: 180.9 MB / 0.5289 GB, free: 2.355 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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002891/0.002891, allocations: 99.84 kB / 0.7291 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4903/0.4932, allocations: 94.15 MB / 0.821 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.00182/0.4951, allocations: 0.6304 MB / 0.8217 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.4971, allocations: 1.403 MB / 0.823 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.4972, allocations: 1.062 kB / 0.823 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.053e-05/0.4972, allocations: 3.984 kB / 0.823 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.479e-05/0.4973, allocations: 6.062 kB / 0.823 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007736/0.498, allocations: 183.7 kB / 0.8232 GB, free: 3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.4982, allocations: 46.33 kB / 0.8233 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.4982, allocations: 2.031 kB / 0.8233 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.267e-05/0.4983, allocations: 21.83 kB / 0.8233 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.24e-05/0.4983, allocations: 24.56 kB / 0.8233 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.4983, allocations: 2.688 kB / 0.8233 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.4987, allocations: 220.6 kB / 0.8235 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.4988, allocations: 10.88 kB / 0.8235 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.962e-05/0.4988, allocations: 25.52 kB / 0.8235 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.4991, allocations: 189 kB / 0.8237 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4991, allocations: 0 / 0.8237 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4991, allocations: 0 / 0.8237 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.4991, allocations: 1.438 kB / 0.8237 GB, free: 2.691 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005494/0.4997, allocations: 445.2 kB / 0.8242 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.4997, allocations: 8.625 kB / 0.8242 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.4998, allocations: 4.219 kB / 0.8242 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.4999, allocations: 182.5 kB / 0.8243 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.4999, allocations: 6.094 kB / 0.8243 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.5, allocations: 7.859 kB / 0.8244 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.5002, allocations: 96.23 kB / 0.8244 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5002, allocations: 5.188 kB / 0.8245 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.5002, allocations: 1.438 kB / 0.8245 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.5002, allocations: 0 / 0.8245 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.5003, allocations: 59.42 kB / 0.8245 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.5005, allocations: 172.7 kB / 0.8247 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.5006, allocations: 79.59 kB / 0.8247 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.977e-05/0.5007, allocations: 69.03 kB / 0.8248 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-06/0.5007, allocations: 0 / 0.8248 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.5008, allocations: 39.56 kB / 0.8249 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.5008, allocations: 0 / 0.8249 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0004598/0.5012, allocations: 254.3 kB / 0.8251 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.5013, allocations: 83.39 kB / 0.8252 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.5014, allocations: 147.8 kB / 0.8253 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.5015, allocations: 27.02 kB / 0.8253 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.5015, allocations: 91.41 kB / 0.8254 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.5016, allocations: 14.03 kB / 0.8254 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-05/0.5016, allocations: 25.16 kB / 0.8255 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.5018, allocations: 321.3 kB / 0.8258 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.5019, allocations: 100.7 kB / 0.8259 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.5021, allocations: 104.1 kB / 0.826 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.5024, allocations: 287.2 kB / 0.8262 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5024, allocations: 1.375 kB / 0.8262 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004281/0.5029, allocations: 320.5 kB / 0.8265 GB, free: 404 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.11e-05/0.5029, allocations: 67.64 kB / 0.8266 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5029, allocations: 1.25 kB / 0.8266 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.503, allocations: 0 / 0.8266 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.503, allocations: 0 / 0.8266 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.503, allocations: 5.094 kB / 0.8266 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.5032, allocations: 21.56 kB / 0.8266 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.5032, allocations: 3.406 kB / 0.8266 GB, free: 316 kB / 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001347/0.5033, allocations: 151.2 kB / 0.8268 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.5033, allocations: 10.7 kB / 0.8268 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.813e-05/0.5033, allocations: 6.875 kB / 0.8268 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.5033, allocations: 0 / 0.8268 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5033, allocations: 0 / 0.8268 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.5034, allocations: 1.125 kB / 0.8268 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.5035, allocations: 172.2 kB / 0.827 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5035, allocations: 0.8438 kB / 0.827 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-06/0.5035, allocations: 7.875 kB / 0.827 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5035, allocations: 9.266 kB / 0.827 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.5036, allocations: 1.875 kB / 0.827 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.5036, allocations: 5.266 kB / 0.827 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5036, allocations: 3.984 kB / 0.827 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.5039, allocations: 224.7 kB / 0.8272 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.504, allocations: 91.11 kB / 0.8273 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.504, allocations: 2.625 kB / 0.8273 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.981e-05/0.504, allocations: 6.75 kB / 0.8273 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.5041, allocations: 11.67 kB / 0.8273 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.5041, allocations: 3.125 kB / 0.8273 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.899e-05/0.5042, allocations: 108.6 kB / 0.8274 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.5042, allocations: 0 / 0.8274 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003553/0.5045, allocations: 59.97 kB / 0.8275 GB, free: 15.56 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: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003186/0.5049, allocations: 156 kB / 0.8276 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004532/0.5053, allocations: 329.2 kB / 0.8279 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5053, allocations: 4.062 kB / 0.8279 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.5055, allocations: 125.7 kB / 0.8281 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.5056, allocations: 10.23 kB / 0.8281 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.5061, allocations: 228.6 kB / 0.8283 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.5064, allocations: 0.6936 MB / 0.829 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.091e-06/0.5064, allocations: 1.531 kB / 0.829 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.168e-05/0.5064, allocations: 7.438 kB / 0.829 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.5064, allocations: 0 / 0.829 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of Templates: time 0.005533/0.512, allocations: 2.066 MB / 0.831 GB, free: 13.25 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.230316280998522]