Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009589/0.000959, allocations: 107.4 kB / 16.4 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009318/0.0009318, allocations: 193.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7008/0.7008, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 62.38 kB / 0.5577 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1315, allocations: 76.19 MB / 0.6321 GB, free: 4.336 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001589/0.1331, allocations: 0.6024 MB / 0.6327 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1348, allocations: 1.389 MB / 0.6341 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.1349, allocations: 0 / 0.6341 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.127e-05/0.1349, allocations: 0 / 0.6341 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.816e-05/0.135, allocations: 3.938 kB / 0.6341 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006103/0.1356, allocations: 183.6 kB / 0.6342 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.1357, allocations: 47.91 kB / 0.6343 GB, free: 2.102 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.1358, allocations: 4 kB / 0.6343 GB, free: 2.098 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.409e-05/0.1358, allocations: 15.98 kB / 0.6343 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.373e-05/0.1359, allocations: 27.89 kB / 0.6343 GB, free: 2.055 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1359, allocations: 4 kB / 0.6343 GB, free: 2.051 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.1362, allocations: 199.7 kB / 0.6345 GB, free: 1.855 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.1362, allocations: 15.94 kB / 0.6345 GB, free: 1.84 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.1363, allocations: 23.84 kB / 0.6346 GB, free: 1.816 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1365, allocations: 195.5 kB / 0.6348 GB, free: 1.625 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1365, allocations: 4 kB / 0.6348 GB, free: 1.621 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1365, allocations: 0 / 0.6348 GB, free: 1.621 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1366, allocations: 0 / 0.6348 GB, free: 1.621 MB / 478.1 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.0004084/0.137, allocations: 438.7 kB / 0.6352 GB, free: 1.133 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.137, allocations: 8.031 kB / 0.6352 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.1371, allocations: 8.844 kB / 0.6352 GB, free: 1.117 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1372, allocations: 176.2 kB / 0.6354 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1372, allocations: 4.312 kB / 0.6354 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.1372, allocations: 4.375 kB / 0.6354 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.1374, allocations: 106 kB / 0.6355 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1374, allocations: 0 / 0.6355 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1374, allocations: 3.938 kB / 0.6355 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1374, allocations: 0 / 0.6355 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.428e-05/0.1375, allocations: 59.95 kB / 0.6355 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.1377, allocations: 173.7 kB / 0.6357 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.1378, allocations: 82.52 kB / 0.6358 GB, free: 428 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.758e-05/0.1379, allocations: 68.89 kB / 0.6358 GB, free: 356 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.1379, allocations: 4 kB / 0.6358 GB, free: 352 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1379, allocations: 34.5 kB / 0.6359 GB, free: 308 kB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.138, allocations: 0 / 0.6359 GB, free: 308 kB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003692/0.1383, allocations: 255.1 kB / 0.6361 GB, free: 40 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.1384, allocations: 81.11 kB / 0.6362 GB, free: 15.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1385, allocations: 155 kB / 0.6363 GB, free: 15.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1385, allocations: 25.7 kB / 0.6364 GB, free: 15.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.1386, allocations: 92.12 kB / 0.6365 GB, free: 15.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.1386, allocations: 15.84 kB / 0.6365 GB, free: 15.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.1387, allocations: 29.7 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.1388, allocations: 318.8 kB / 0.6368 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1389, allocations: 103.9 kB / 0.6369 GB, free: 15.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.986e-05/0.139, allocations: 99.94 kB / 0.637 GB, free: 15.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.1393, allocations: 285.6 kB / 0.6373 GB, free: 14.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1393, allocations: 0 / 0.6373 GB, free: 14.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003188/0.1396, allocations: 316.8 kB / 0.6376 GB, free: 14.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.1397, allocations: 77.48 kB / 0.6377 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1397, allocations: 0 / 0.6377 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1397, allocations: 0 / 0.6377 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.1397, allocations: 0 / 0.6377 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1397, allocations: 0 / 0.6377 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.829e-05/0.1398, allocations: 19.83 kB / 0.6377 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1398, allocations: 4 kB / 0.6377 GB, free: 14.35 MB / 494.1 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.0001031/0.1399, allocations: 151.5 kB / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.14, allocations: 7.844 kB / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.404e-05/0.14, allocations: 12.25 kB / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.14, allocations: 144 / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.14, allocations: 0 / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.14, allocations: 3.984 kB / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.1401, allocations: 177.6 kB / 0.638 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1401, allocations: 0 / 0.638 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-06/0.1401, allocations: 3.938 kB / 0.638 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1401, allocations: 3.938 kB / 0.638 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1402, allocations: 11.92 kB / 0.638 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1402, allocations: 0 / 0.638 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1402, allocations: 0 / 0.638 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.1404, allocations: 226.7 kB / 0.6382 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.1405, allocations: 88.94 kB / 0.6383 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.1405, allocations: 4 kB / 0.6383 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.597e-05/0.1406, allocations: 4 kB / 0.6383 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.1406, allocations: 11.98 kB / 0.6384 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.1406, allocations: 7.938 kB / 0.6384 GB, free: 13.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.94e-05/0.1407, allocations: 107.2 kB / 0.6385 GB, free: 13.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1407, allocations: 4.031 kB / 0.6385 GB, free: 13.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.141, allocations: 64 kB / 0.6385 GB, free: 13.36 MB / 494.1 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.0002474/0.1412, allocations: 145.6 kB / 0.6387 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003999/0.1416, allocations: 370.6 kB / 0.639 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1417, allocations: 4 kB / 0.639 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.1418, allocations: 131.3 kB / 0.6391 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.1419, allocations: 9.562 kB / 0.6392 GB, free: 12.67 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.1422, allocations: 213.7 kB / 0.6394 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.1425, allocations: 0.6924 MB / 0.64 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.362e-06/0.1425, allocations: 3.906 kB / 0.64 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.316e-06/0.1425, allocations: 7.438 kB / 0.64 GB, free: 11.71 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1425, allocations: 0 / 0.64 GB, free: 11.71 MB / 494.1 MB Notification: Performance of Templates: time 0.004191/0.1467, allocations: 2.047 MB / 0.642 GB, free: 9.664 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)