Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7366/0.7366, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001555/0.001555, allocations: 168.9 kB / 169.7 MB, free: 1.754 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.1 MB / 404.5 MB, free: 1.598 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000911/0.0009108, allocations: 89.91 kB / 481.8 MB, free: 4.25 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.921e-05/3.926e-05, allocations: 4 kB / 0.5532 GB, free: 54.81 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1355, allocations: 76.75 MB / 0.6282 GB, free: 10 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.428/0.5636, allocations: 103.5 MB / 0.7292 GB, free: 9.906 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5639, allocations: 87.62 kB / 0.7293 GB, free: 9.855 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009815/0.5738, allocations: 3.255 MB / 0.7325 GB, free: 6.977 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.5738, allocations: 0 / 0.7325 GB, free: 6.977 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.5738, allocations: 4 kB / 0.7325 GB, free: 6.973 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.0003723/0.5742, allocations: 430 kB / 0.7329 GB, free: 6.504 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.5743, allocations: 16.02 kB / 0.7329 GB, free: 6.488 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.5743, allocations: 11.23 kB / 0.7329 GB, free: 6.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.5744, allocations: 171 kB / 0.7331 GB, free: 6.273 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.5745, allocations: 0 / 0.7331 GB, free: 6.273 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.5745, allocations: 4 kB / 0.7331 GB, free: 6.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.5747, allocations: 104.5 kB / 0.7332 GB, free: 6.168 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.5747, allocations: 0 / 0.7332 GB, free: 6.168 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.5747, allocations: 4 kB / 0.7332 GB, free: 6.164 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.5747, allocations: 0 / 0.7332 GB, free: 6.164 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.5748, allocations: 55.72 kB / 0.7333 GB, free: 6.113 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.575, allocations: 180.1 kB / 0.7334 GB, free: 5.895 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.5751, allocations: 81.16 kB / 0.7335 GB, free: 5.812 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.463e-05/0.5752, allocations: 72.39 kB / 0.7336 GB, free: 5.746 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.5752, allocations: 0 / 0.7336 GB, free: 5.746 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.5753, allocations: 38.5 kB / 0.7336 GB, free: 5.699 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.5753, allocations: 0 / 0.7336 GB, free: 5.699 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002892/0.5756, allocations: 190.3 kB / 0.7338 GB, free: 5.512 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.5756, allocations: 77.11 kB / 0.7339 GB, free: 5.418 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.5757, allocations: 136.5 kB / 0.734 GB, free: 5.285 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.5758, allocations: 28.7 kB / 0.734 GB, free: 5.254 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.5758, allocations: 91.56 kB / 0.7341 GB, free: 5.164 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.5759, allocations: 7.891 kB / 0.7341 GB, free: 5.156 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/0.5759, allocations: 7.938 kB / 0.7341 GB, free: 5.152 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.576, allocations: 318.8 kB / 0.7344 GB, free: 4.832 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.5761, allocations: 98.62 kB / 0.7345 GB, free: 4.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.5763, allocations: 101.1 kB / 0.7346 GB, free: 4.664 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.5764, allocations: 161.1 kB / 0.7348 GB, free: 4.508 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5765, allocations: 0 / 0.7348 GB, free: 4.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003587/0.5768, allocations: 310.4 kB / 0.7351 GB, free: 4.211 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.529e-05/0.5769, allocations: 70.83 kB / 0.7351 GB, free: 4.133 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5769, allocations: 3.938 kB / 0.7351 GB, free: 4.129 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.5769, allocations: 3.938 kB / 0.7351 GB, free: 4.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.5769, allocations: 4.062 kB / 0.7352 GB, free: 4.121 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.5769, allocations: 0 / 0.7352 GB, free: 4.121 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.383e-05/0.577, allocations: 19.83 kB / 0.7352 GB, free: 4.102 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.5771, allocations: 8 kB / 0.7352 GB, free: 4.094 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 () * 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 9.945e-05/0.5772, allocations: 134.6 kB / 0.7353 GB, free: 3.949 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.5772, allocations: 11.89 kB / 0.7353 GB, free: 3.938 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.5772, allocations: 10.53 kB / 0.7353 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5772, allocations: 0 / 0.7353 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5772, allocations: 0 / 0.7353 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5772, allocations: 4 kB / 0.7353 GB, free: 3.926 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.5774, allocations: 181.8 kB / 0.7355 GB, free: 3.707 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.5774, allocations: 0 / 0.7355 GB, free: 3.707 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.5774, allocations: 0 / 0.7355 GB, free: 3.707 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.5774, allocations: 0 / 0.7355 GB, free: 3.707 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.5774, allocations: 4 kB / 0.7355 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.5774, allocations: 0 / 0.7355 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5774, allocations: 0.875 kB / 0.7355 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.5777, allocations: 234.7 kB / 0.7357 GB, free: 3.461 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.5777, allocations: 81.02 kB / 0.7358 GB, free: 3.363 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.5778, allocations: 7.375 kB / 0.7358 GB, free: 3.359 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.667e-05/0.5778, allocations: 4 kB / 0.7358 GB, free: 3.355 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/0.5779, allocations: 7.984 kB / 0.7358 GB, free: 3.348 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.5779, allocations: 0 / 0.7358 GB, free: 3.348 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.632e-05/0.578, allocations: 107.4 kB / 0.7359 GB, free: 3.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.578, allocations: 0 / 0.7359 GB, free: 3.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003079/0.5783, allocations: 74.92 kB / 0.736 GB, free: 3.18 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) * 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.0003102/0.5786, allocations: 174.5 kB / 0.7362 GB, free: 3.004 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003982/0.579, allocations: 367 kB / 0.7365 GB, free: 2.676 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5791, allocations: 0 / 0.7365 GB, free: 2.676 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.5792, allocations: 137.4 kB / 0.7367 GB, free: 2.543 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.965e-05/0.5793, allocations: 7.953 kB / 0.7367 GB, free: 2.535 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.5796, allocations: 156.2 kB / 0.7368 GB, free: 2.367 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.5799, allocations: 0.6928 MB / 0.7375 GB, free: 1.648 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.969e-06/0.5799, allocations: 4 kB / 0.7375 GB, free: 1.645 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.556e-06/0.5799, allocations: 7.438 kB / 0.7375 GB, free: 1.637 MB / 490.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5799, allocations: 0 / 0.7375 GB, free: 1.637 MB / 490.7 MB Notification: Performance of Templates: time 0.004163/0.5841, allocations: 1.882 MB / 0.7393 GB, free: 15.78 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)