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.0008266/0.0008265, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008944/0.0008944, allocations: 173.1 kB / 16.58 MB, free: 6.852 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.349/1.349, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7158/0.7158, allocations: 115.5 MB / 407.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003023, allocations: 8 kB / 495.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.138, allocations: 77.53 MB / 0.5593 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.0008316/0.1389, allocations: 331.7 kB / 0.5597 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.1412, allocations: 1.341 MB / 0.561 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.124e-05/0.1413, allocations: 3.938 kB / 0.561 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.248e-05/0.1414, allocations: 3.938 kB / 0.561 GB, free: 7.707 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.637e-05/0.1414, allocations: 0 / 0.561 GB, free: 7.707 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/0.1422, allocations: 131.8 kB / 0.5611 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.294e-05/0.1423, allocations: 39.89 kB / 0.5611 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.1423, allocations: 3.984 kB / 0.5611 GB, free: 7.535 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.18e-05/0.1424, allocations: 19.98 kB / 0.5612 GB, free: 7.516 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.1e-05/0.1425, allocations: 27.91 kB / 0.5612 GB, free: 7.488 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1425, allocations: 4 kB / 0.5612 GB, free: 7.484 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003911/0.1429, allocations: 175.8 kB / 0.5614 GB, free: 7.312 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.143, allocations: 19.91 kB / 0.5614 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.143, allocations: 25.7 kB / 0.5614 GB, free: 7.262 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.1432, allocations: 123.8 kB / 0.5615 GB, free: 7.141 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1433, allocations: 0 / 0.5615 GB, free: 7.141 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1433, allocations: 8 kB / 0.5615 GB, free: 7.133 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1433, allocations: 0 / 0.5615 GB, free: 7.133 MB / 430.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.0005137/0.1438, allocations: 430.8 kB / 0.5619 GB, free: 6.652 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1439, allocations: 8.031 kB / 0.5619 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.1439, allocations: 7.906 kB / 0.562 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.1441, allocations: 171 kB / 0.5621 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1441, allocations: 0 / 0.5621 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.1441, allocations: 11.94 kB / 0.5621 GB, free: 6.418 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.1444, allocations: 93.64 kB / 0.5622 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1444, allocations: 7.953 kB / 0.5622 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.1444, allocations: 0 / 0.5622 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1444, allocations: 0 / 0.5622 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.1446, allocations: 59.95 kB / 0.5623 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.1448, allocations: 185.5 kB / 0.5625 GB, free: 6.023 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.145, allocations: 78.53 kB / 0.5625 GB, free: 5.938 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.1451, allocations: 72.83 kB / 0.5626 GB, free: 5.863 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.1451, allocations: 0 / 0.5626 GB, free: 5.863 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.1452, allocations: 42.56 kB / 0.5626 GB, free: 5.812 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.1452, allocations: 0 / 0.5626 GB, free: 5.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005468/0.1457, allocations: 259.1 kB / 0.5629 GB, free: 5.547 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.1458, allocations: 81.11 kB / 0.563 GB, free: 5.449 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.146, allocations: 144.7 kB / 0.5631 GB, free: 5.301 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.146, allocations: 25.7 kB / 0.5631 GB, free: 5.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.1461, allocations: 92.14 kB / 0.5632 GB, free: 5.176 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.1461, allocations: 11.75 kB / 0.5632 GB, free: 5.164 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.1462, allocations: 8.031 kB / 0.5632 GB, free: 5.156 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1463, allocations: 318.8 kB / 0.5635 GB, free: 4.836 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.1465, allocations: 107.9 kB / 0.5636 GB, free: 4.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.1467, allocations: 99.94 kB / 0.5637 GB, free: 4.633 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.1469, allocations: 163.3 kB / 0.5639 GB, free: 4.461 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.147, allocations: 0 / 0.5639 GB, free: 4.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005138/0.1475, allocations: 316.8 kB / 0.5642 GB, free: 4.133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.179e-05/0.1476, allocations: 71.38 kB / 0.5643 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1476, allocations: 0 / 0.5643 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1476, allocations: 4.062 kB / 0.5643 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-05/0.1476, allocations: 7.953 kB / 0.5643 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1476, allocations: 0 / 0.5643 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.1478, allocations: 15.84 kB / 0.5643 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.1478, allocations: 8 kB / 0.5643 GB, free: 4.016 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.148, allocations: 151.5 kB / 0.5644 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.148, allocations: 4 kB / 0.5644 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.785e-05/0.148, allocations: 8.188 kB / 0.5645 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1481, allocations: 8 kB / 0.5645 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.1481, allocations: 3.953 kB / 0.5645 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1481, allocations: 3.938 kB / 0.5645 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.1482, allocations: 177.5 kB / 0.5646 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1483, allocations: 0 / 0.5646 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.1483, allocations: 0 / 0.5646 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1483, allocations: 0 / 0.5646 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1483, allocations: 0 / 0.5646 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.1483, allocations: 4 kB / 0.5646 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1483, allocations: 0 / 0.5646 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.1487, allocations: 230.7 kB / 0.5649 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.1488, allocations: 85.02 kB / 0.5649 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1488, allocations: 0 / 0.5649 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.1489, allocations: 11.92 kB / 0.565 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.149, allocations: 4 kB / 0.565 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.149, allocations: 4 kB / 0.565 GB, free: 3.223 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.1491, allocations: 107.2 kB / 0.5651 GB, free: 3.117 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1491, allocations: 0 / 0.5651 GB, free: 3.117 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000455/0.1496, allocations: 71.97 kB / 0.5651 GB, free: 3.047 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003655/0.15, allocations: 151.2 kB / 0.5653 GB, free: 2.891 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005759/0.1505, allocations: 370.6 kB / 0.5656 GB, free: 2.504 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1506, allocations: 0 / 0.5656 GB, free: 2.504 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.1507, allocations: 135.4 kB / 0.5658 GB, free: 2.359 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.151, allocations: 7.984 kB / 0.5658 GB, free: 2.352 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.1514, allocations: 219.3 kB / 0.566 GB, free: 2.113 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.1517, allocations: 0.6887 MB / 0.5667 GB, free: 1.398 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.16e-06/0.1517, allocations: 0 / 0.5667 GB, free: 1.398 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.638e-06/0.1517, allocations: 7.438 kB / 0.5667 GB, free: 1.391 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1517, allocations: 0 / 0.5667 GB, free: 1.391 MB / 430.1 MB Notification: Performance of Templates: time 0.005199/0.1569, allocations: 1.878 MB / 0.5685 GB, free: 15.52 MB / 446.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)