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.001787/0.001788, allocations: 115.8 kB / 17.08 MB, free: 5.969 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.00202/0.002021, allocations: 197.8 kB / 18.02 MB, free: 5.047 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.373/1.373, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7262/0.7262, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 62.58 kB / 0.5584 GB, free: 32.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.134, allocations: 76.18 MB / 0.6328 GB, free: 4.324 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001855/0.1359, allocations: 0.5988 MB / 0.6334 GB, free: 3.73 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.1379, allocations: 1.393 MB / 0.6347 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.1379, allocations: 0 / 0.6347 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.394e-05/0.138, allocations: 7.922 kB / 0.6347 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.314e-05/0.1381, allocations: 0 / 0.6347 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007655/0.1388, allocations: 178 kB / 0.6349 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.139, allocations: 47.84 kB / 0.6349 GB, free: 2.094 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.139, allocations: 15.98 kB / 0.635 GB, free: 2.078 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.764e-05/0.1391, allocations: 11.98 kB / 0.635 GB, free: 2.066 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.045e-05/0.1391, allocations: 27.91 kB / 0.635 GB, free: 2.039 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1392, allocations: 4 kB / 0.635 GB, free: 2.035 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003777/0.1396, allocations: 203.7 kB / 0.6352 GB, free: 1.836 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.1396, allocations: 11.94 kB / 0.6352 GB, free: 1.824 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.1397, allocations: 19.86 kB / 0.6352 GB, free: 1.805 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.14, allocations: 195.5 kB / 0.6354 GB, free: 1.613 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.14, allocations: 0 / 0.6354 GB, free: 1.613 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.14, allocations: 0 / 0.6354 GB, free: 1.613 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.14, allocations: 4 kB / 0.6354 GB, free: 1.609 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.0004895/0.1405, allocations: 438.7 kB / 0.6358 GB, free: 1.121 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1406, allocations: 8.031 kB / 0.6358 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.1406, allocations: 8.844 kB / 0.6359 GB, free: 1.105 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.1407, allocations: 177.6 kB / 0.636 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1408, allocations: 384 / 0.636 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.1408, allocations: 4.375 kB / 0.636 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.141, allocations: 101.9 kB / 0.6361 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.141, allocations: 0 / 0.6361 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.141, allocations: 4 kB / 0.6361 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.141, allocations: 4 kB / 0.6361 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.685e-05/0.1411, allocations: 59.95 kB / 0.6362 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.1413, allocations: 169.7 kB / 0.6364 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1414, allocations: 86.47 kB / 0.6364 GB, free: 420 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.853e-05/0.1415, allocations: 68.88 kB / 0.6365 GB, free: 348 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.1415, allocations: 0 / 0.6365 GB, free: 348 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1416, allocations: 38.5 kB / 0.6365 GB, free: 300 kB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1416, allocations: 0 / 0.6365 GB, free: 300 kB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004091/0.142, allocations: 251.2 kB / 0.6368 GB, free: 36 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.1421, allocations: 92.98 kB / 0.6369 GB, free: 15.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1422, allocations: 151.8 kB / 0.637 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1422, allocations: 25.7 kB / 0.637 GB, free: 15.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.1423, allocations: 96.11 kB / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.1423, allocations: 7.812 kB / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.1424, allocations: 29.75 kB / 0.6372 GB, free: 15.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1425, allocations: 322.8 kB / 0.6375 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.1426, allocations: 103.9 kB / 0.6376 GB, free: 15.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1428, allocations: 103.9 kB / 0.6377 GB, free: 15.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.1431, allocations: 281.7 kB / 0.6379 GB, free: 14.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1431, allocations: 0 / 0.6379 GB, free: 14.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003467/0.1434, allocations: 320.8 kB / 0.6382 GB, free: 14.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.496e-05/0.1435, allocations: 67.39 kB / 0.6383 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1435, allocations: 3.938 kB / 0.6383 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1435, allocations: 4.062 kB / 0.6383 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.1435, allocations: 0 / 0.6383 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1435, allocations: 0 / 0.6383 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.1437, allocations: 19.83 kB / 0.6383 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.1437, allocations: 8 kB / 0.6383 GB, free: 14.33 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.0001163/0.1439, allocations: 147.5 kB / 0.6385 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.1439, allocations: 11.98 kB / 0.6385 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.1439, allocations: 8.234 kB / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1439, allocations: 0 / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1439, allocations: 4 kB / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1439, allocations: 0 / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.1441, allocations: 173.6 kB / 0.6387 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1441, allocations: 0 / 0.6387 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-06/0.1441, allocations: 3.938 kB / 0.6387 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1441, allocations: 0 / 0.6387 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.1441, allocations: 4 kB / 0.6387 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.1441, allocations: 3.984 kB / 0.6387 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1441, allocations: 0 / 0.6387 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.1444, allocations: 234.6 kB / 0.6389 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.1445, allocations: 88.94 kB / 0.639 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.1445, allocations: 4 kB / 0.639 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.764e-05/0.1446, allocations: 4 kB / 0.639 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.1446, allocations: 15.92 kB / 0.639 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1446, allocations: 0 / 0.639 GB, free: 13.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.045e-05/0.1447, allocations: 111.2 kB / 0.6391 GB, free: 13.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1447, allocations: 0 / 0.6391 GB, free: 13.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.1451, allocations: 60 kB / 0.6392 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.0003092/0.1454, allocations: 155.2 kB / 0.6393 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003919/0.1458, allocations: 362.7 kB / 0.6397 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1458, allocations: 8 kB / 0.6397 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1459, allocations: 135.3 kB / 0.6398 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.1461, allocations: 1.719 kB / 0.6398 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.1465, allocations: 251.2 kB / 0.64 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1468, allocations: 0.6925 MB / 0.6407 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.547e-06/0.1468, allocations: 11.38 kB / 0.6407 GB, free: 11.66 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1468, allocations: 0 / 0.6407 GB, free: 11.66 MB / 494.1 MB Notification: Performance of Templates: time 0.003634/0.1505, allocations: 1.664 MB / 0.6424 GB, free: 9.988 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)