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.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.002489/0.002489, allocations: 93.47 kB / 19.44 MB, free: 336 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.002799/0.002799, allocations: 169.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.56/1.56, 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.003688/0.003688, allocations: 249.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.283/1.283, allocations: 138.4 MB / 454.7 MB, free: 1.488 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.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 1.523e-06/1.523e-06, allocations: 0 / 0.5544 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.568e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001741/0.001766, allocations: 0.616 MB / 0.555 GB, free: 184 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.003997, allocations: 1.408 MB / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.00402, allocations: 0 / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.208e-05/0.004082, allocations: 3.938 kB / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.71e-05/0.004119, allocations: 4 kB / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.004796, allocations: 187.4 kB / 0.5565 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.004905, allocations: 39.95 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.366e-05/0.004939, allocations: 8 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.138e-05/0.005, allocations: 27.91 kB / 0.5566 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.807e-05/0.005058, allocations: 23.97 kB / 0.5566 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.005076, allocations: 4 kB / 0.5566 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.005489, allocations: 207.7 kB / 0.5568 GB, free: 14.26 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.005531, allocations: 11.94 kB / 0.5569 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.005577, allocations: 15.92 kB / 0.5569 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.005973, allocations: 239.4 kB / 0.5571 GB, free: 14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.005975, allocations: 0 / 0.5571 GB, free: 14 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005976, allocations: 0 / 0.5571 GB, free: 14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.00598, allocations: 4 kB / 0.5571 GB, free: 13.99 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005553/0.006535, allocations: 475.1 kB / 0.5576 GB, free: 13.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.006573, allocations: 12.75 kB / 0.5576 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.307e-05/0.006636, allocations: 12.88 kB / 0.5576 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.006768, allocations: 115.4 kB / 0.5577 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.006782, allocations: 4.375 kB / 0.5577 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.006794, allocations: 384 / 0.5577 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.007001, allocations: 119.9 kB / 0.5578 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.007009, allocations: 192 / 0.5578 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.007022, allocations: 4.375 kB / 0.5578 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.007028, allocations: 3.938 kB / 0.5578 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.007162, allocations: 97.58 kB / 0.5579 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.00734, allocations: 136.6 kB / 0.558 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.007513, allocations: 112.7 kB / 0.5581 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.00765, allocations: 97.42 kB / 0.5582 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.007659, allocations: 0 / 0.5582 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.007693, allocations: 33.39 kB / 0.5583 GB, free: 12.63 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.007694, allocations: 0 / 0.5583 GB, free: 12.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005066/0.0082, allocations: 314.5 kB / 0.5586 GB, free: 12.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.008271, allocations: 85.05 kB / 0.5587 GB, free: 12.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.008452, allocations: 193.9 kB / 0.5588 GB, free: 11.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.008477, allocations: 29.7 kB / 0.5589 GB, free: 11.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.008756, allocations: 146.9 kB / 0.559 GB, free: 11.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.008779, allocations: 7.906 kB / 0.559 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.162e-05/0.008851, allocations: 39.36 kB / 0.5591 GB, free: 11.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002762/0.009127, allocations: 0.4884 MB / 0.5595 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.00931, allocations: 143.3 kB / 0.5597 GB, free: 11.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.009501, allocations: 139.3 kB / 0.5598 GB, free: 10.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/0.009837, allocations: 268.7 kB / 0.5601 GB, free: 10.67 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.009839, allocations: 0 / 0.5601 GB, free: 10.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004428/0.01028, allocations: 340.3 kB / 0.5604 GB, free: 10.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.607e-05/0.01036, allocations: 71.39 kB / 0.5604 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01036, allocations: 4.062 kB / 0.5604 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.01037, allocations: 0 / 0.5604 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-07/0.01038, allocations: 0 / 0.5604 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.01038, allocations: 7.875 kB / 0.5605 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.0105, allocations: 19.89 kB / 0.5605 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.01051, allocations: 4 kB / 0.5605 GB, free: 10.19 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: 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.0001565/0.01067, allocations: 194.3 kB / 0.5607 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.01069, allocations: 11.95 kB / 0.5607 GB, free: 9.969 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.37e-05/0.01071, allocations: 4.344 kB / 0.5607 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.01071, allocations: 0 / 0.5607 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.01071, allocations: 11.94 kB / 0.5607 GB, free: 9.953 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.01072, allocations: 3.984 kB / 0.5607 GB, free: 9.949 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.01085, allocations: 128.6 kB / 0.5608 GB, free: 9.789 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.01085, allocations: 0 / 0.5608 GB, free: 9.789 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.01085, allocations: 0 / 0.5608 GB, free: 9.789 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.01085, allocations: 0 / 0.5608 GB, free: 9.789 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.01086, allocations: 0 / 0.5608 GB, free: 9.789 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.01086, allocations: 4 kB / 0.5608 GB, free: 9.785 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.01087, allocations: 3.938 kB / 0.5608 GB, free: 9.781 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.01123, allocations: 271.8 kB / 0.5611 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.01125, allocations: 7.938 kB / 0.5611 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.01127, allocations: 8.031 kB / 0.5611 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.991e-05/0.01132, allocations: 7.984 kB / 0.5611 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.01139, allocations: 7.984 kB / 0.5611 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.0114, allocations: 3.938 kB / 0.5611 GB, free: 9.445 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.0115, allocations: 150.3 kB / 0.5613 GB, free: 9.301 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0115, allocations: 0 / 0.5613 GB, free: 9.301 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004276/0.01193, allocations: 63.88 kB / 0.5613 GB, free: 9.238 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: 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.0002975/0.01223, allocations: 155.1 kB / 0.5615 GB, free: 9.078 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005119/0.01274, allocations: 403.4 kB / 0.5619 GB, free: 8.637 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.01274, allocations: 4.062 kB / 0.5619 GB, free: 8.633 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.01293, allocations: 160.8 kB / 0.562 GB, free: 8.453 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.01307, allocations: 10.83 kB / 0.562 GB, free: 8.445 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.0135, allocations: 251 kB / 0.5623 GB, free: 8.168 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.18e-05/0.01358, allocations: 79.2 kB / 0.5623 GB, free: 8.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.029e-06/0.01359, allocations: 0 / 0.5623 GB, free: 8.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.0136, allocations: 8.5 kB / 0.5623 GB, free: 8.062 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.0136, allocations: 0 / 0.5623 GB, free: 8.062 MB / 490.7 MB Notification: Performance of Templates: time 0.005996/0.0196, allocations: 2.172 MB / 0.5645 GB, free: 5.906 MB / 490.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.930879338062368]