Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(IBPSA.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001329, allocations: 118.2 kB / 17.08 MB, free: 5.789 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.001417/0.001417, allocations: 196.7 kB / 18.02 MB, free: 4.914 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.358/1.358, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.738/0.738, allocations: 115.3 MB / 407.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 72.64 kB / 0.5584 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1439, allocations: 76.18 MB / 0.6328 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001816/0.1457, allocations: 0.6233 MB / 0.6334 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004667/0.1462, allocations: 203.5 kB / 0.6336 GB, free: 3.559 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.1463, allocations: 0 / 0.6336 GB, free: 3.559 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.1463, allocations: 3.938 kB / 0.6336 GB, free: 3.555 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.1465, allocations: 15.94 kB / 0.6336 GB, free: 3.539 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.1467, allocations: 71.75 kB / 0.6337 GB, free: 3.469 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.025e-05/0.1468, allocations: 27.91 kB / 0.6337 GB, free: 3.441 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.1469, allocations: 4 kB / 0.6337 GB, free: 3.438 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.221e-05/0.1469, allocations: 11.98 kB / 0.6337 GB, free: 3.426 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.184e-05/0.147, allocations: 27.84 kB / 0.6337 GB, free: 3.398 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.147, allocations: 0 / 0.6337 GB, free: 3.398 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.1472, allocations: 111.7 kB / 0.6338 GB, free: 3.289 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.1472, allocations: 0 / 0.6338 GB, free: 3.289 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.1473, allocations: 31.78 kB / 0.6339 GB, free: 3.258 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.1475, allocations: 103.8 kB / 0.634 GB, free: 3.156 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1475, allocations: 0 / 0.634 GB, free: 3.156 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1475, allocations: 0 / 0.634 GB, free: 3.156 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1475, allocations: 0 / 0.634 GB, free: 3.156 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005157/0.148, allocations: 367.4 kB / 0.6343 GB, free: 2.746 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1481, allocations: 8.031 kB / 0.6343 GB, free: 2.738 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.1481, allocations: 8.844 kB / 0.6343 GB, free: 2.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.1482, allocations: 172.3 kB / 0.6345 GB, free: 2.523 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1483, allocations: 4.375 kB / 0.6345 GB, free: 2.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.1483, allocations: 8.281 kB / 0.6345 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1484, allocations: 50.23 kB / 0.6346 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1485, allocations: 192 / 0.6346 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1485, allocations: 7.938 kB / 0.6346 GB, free: 2.449 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1485, allocations: 0 / 0.6346 GB, free: 2.449 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.1486, allocations: 31.97 kB / 0.6346 GB, free: 2.418 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.1489, allocations: 252.9 kB / 0.6348 GB, free: 2.121 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.1491, allocations: 74.47 kB / 0.6349 GB, free: 2.039 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.461e-05/0.1492, allocations: 24.94 kB / 0.6349 GB, free: 2.012 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.1492, allocations: 0 / 0.6349 GB, free: 2.012 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.1493, allocations: 34.56 kB / 0.635 GB, free: 1.969 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1493, allocations: 4 kB / 0.635 GB, free: 1.965 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.0279/0.1772, allocations: 1.605 MB / 0.6365 GB, free: 360 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.1772, allocations: 51.41 kB / 0.6366 GB, free: 296 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.1774, allocations: 121.8 kB / 0.6367 GB, free: 164 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.277e-05/0.1775, allocations: 37.64 kB / 0.6367 GB, free: 120 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.1775, allocations: 80.14 kB / 0.6368 GB, free: 36 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.767e-05/0.1776, allocations: 35.53 kB / 0.6369 GB, free: 0 / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.1778, allocations: 25.78 kB / 0.6369 GB, free: 15.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.178, allocations: 318.8 kB / 0.6372 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004775/0.1784, allocations: 151.9 kB / 0.6373 GB, free: 15.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/0.1789, allocations: 139.9 kB / 0.6375 GB, free: 15.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009584/0.1799, allocations: 288.8 kB / 0.6377 GB, free: 15.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1799, allocations: 0 / 0.6377 GB, free: 15.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001169/0.1811, allocations: 341.5 kB / 0.6381 GB, free: 14.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1811, allocations: 6.844 kB / 0.6381 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1811, allocations: 4 kB / 0.6381 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1811, allocations: 0 / 0.6381 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.1828, allocations: 63.92 kB / 0.6381 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1828, allocations: 7.938 kB / 0.6381 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.1843, allocations: 47.94 kB / 0.6382 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/0.1843, allocations: 8 kB / 0.6382 GB, free: 14.6 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001893/0.1845, allocations: 117.7 kB / 0.6383 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.399e-05/0.1846, allocations: 3.906 kB / 0.6383 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.1848, allocations: 20.38 kB / 0.6383 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1848, allocations: 0 / 0.6383 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1848, allocations: 0 / 0.6383 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1848, allocations: 3.984 kB / 0.6383 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006019/0.1908, allocations: 0.8455 MB / 0.6392 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1909, allocations: 0 / 0.6392 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.192, allocations: 63.94 kB / 0.6392 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.1921, allocations: 0 / 0.6392 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.1921, allocations: 0 / 0.6392 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.1921, allocations: 7.938 kB / 0.6392 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1921, allocations: 0 / 0.6392 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009262/0.1931, allocations: 321.1 kB / 0.6395 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.1931, allocations: 85 kB / 0.6396 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-05/0.1932, allocations: 4 kB / 0.6396 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.1943, allocations: 43.89 kB / 0.6397 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.1943, allocations: 7.938 kB / 0.6397 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.201e-05/0.1944, allocations: 11.98 kB / 0.6397 GB, free: 12.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.044e-05/0.1944, allocations: 87.28 kB / 0.6398 GB, free: 12.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1945, allocations: 0 / 0.6398 GB, free: 12.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004029/0.1949, allocations: 99.98 kB / 0.6399 GB, free: 12.78 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0002232/0.1951, allocations: 115.2 kB / 0.64 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009743/0.1961, allocations: 247.8 kB / 0.6402 GB, free: 12.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.1961, allocations: 4 kB / 0.6402 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.1965, allocations: 87.89 kB / 0.6403 GB, free: 12.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.1968, allocations: 11.98 kB / 0.6403 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.1996, allocations: 332.3 kB / 0.6406 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.1999, allocations: 0.6827 MB / 0.6413 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004676/0.2004, allocations: 19.89 kB / 0.6413 GB, free: 11.23 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.2004, allocations: 0 / 0.6413 GB, free: 11.23 MB / 494.1 MB Notification: Performance of Templates: time 0.007929/0.2083, allocations: 5.065 MB / 0.6463 GB, free: 6.129 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)