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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.631/0.631, allocations: 117.9 MB / 133.9 MB, free: 4.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009968/0.0009969, allocations: 183.4 kB / 161.7 MB, free: 2.75 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.866/1.866, allocations: 205.4 MB / 394.8 MB, free: 20.89 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.0008158/0.0008157, allocations: 97.34 kB / 470.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.0004609, allocations: 12 kB / 0.5423 GB, free: 6.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3876, allocations: 74.53 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.5234, allocations: 102.5 MB / 0.7152 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.5238, allocations: 87.88 kB / 0.7153 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01009/0.5339, allocations: 3.295 MB / 0.7185 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5339, allocations: 3.938 kB / 0.7185 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.5339, allocations: 0 / 0.7185 GB, free: 12.12 MB / 0.4948 GB 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.0005441/0.5345, allocations: 442.6 kB / 0.7189 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.5346, allocations: 8.031 kB / 0.7189 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.5346, allocations: 8.844 kB / 0.7189 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.5348, allocations: 181.8 kB / 0.7191 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.5348, allocations: 384 / 0.7191 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.5348, allocations: 8.375 kB / 0.7191 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.535, allocations: 94.2 kB / 0.7192 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.5351, allocations: 8.109 kB / 0.7192 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.5351, allocations: 3.938 kB / 0.7192 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.5351, allocations: 0 / 0.7192 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.5352, allocations: 59.95 kB / 0.7193 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/0.5354, allocations: 173.7 kB / 0.7194 GB, free: 11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.5355, allocations: 82.53 kB / 0.7195 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.858e-05/0.5356, allocations: 68.89 kB / 0.7196 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.5357, allocations: 0 / 0.7196 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.5357, allocations: 38.56 kB / 0.7196 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 4.578e-06/0.5357, allocations: 0 / 0.7196 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0004435/0.5362, allocations: 259 kB / 0.7199 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.5362, allocations: 85.09 kB / 0.7199 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.5364, allocations: 143.8 kB / 0.7201 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.5364, allocations: 25.7 kB / 0.7201 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.5365, allocations: 100.1 kB / 0.7202 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.5365, allocations: 3.906 kB / 0.7202 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.5366, allocations: 4 kB / 0.7202 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5367, allocations: 318.8 kB / 0.7205 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.5368, allocations: 95.94 kB / 0.7206 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.537, allocations: 99.92 kB / 0.7207 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.5373, allocations: 281.6 kB / 0.721 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5373, allocations: 0 / 0.721 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003715/0.5377, allocations: 312.8 kB / 0.7213 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.908e-05/0.5377, allocations: 79.31 kB / 0.7213 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.5378, allocations: 3.938 kB / 0.7214 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5378, allocations: 0 / 0.7214 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.5378, allocations: 0 / 0.7214 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.382e-05/0.5378, allocations: 7.984 kB / 0.7214 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.949e-05/0.5379, allocations: 11.84 kB / 0.7214 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.5379, allocations: 8 kB / 0.7214 GB, free: 8.887 MB / 0.4948 GB 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.0001239/0.5381, allocations: 151.5 kB / 0.7215 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.5381, allocations: 19.88 kB / 0.7215 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.44e-05/0.5381, allocations: 4.25 kB / 0.7215 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5381, allocations: 0 / 0.7215 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5381, allocations: 4 kB / 0.7215 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.5381, allocations: 0 / 0.7215 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.5383, allocations: 173.6 kB / 0.7217 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5383, allocations: 0 / 0.7217 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-06/0.5383, allocations: 3.938 kB / 0.7217 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.5383, allocations: 3.938 kB / 0.7217 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.5383, allocations: 4 kB / 0.7217 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.5383, allocations: 4 kB / 0.7217 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5383, allocations: 3.938 kB / 0.7217 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.5386, allocations: 226.6 kB / 0.722 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.5387, allocations: 81.02 kB / 0.722 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.5387, allocations: 7.938 kB / 0.722 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.905e-05/0.5388, allocations: 7.984 kB / 0.722 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.5388, allocations: 8 kB / 0.7221 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.5388, allocations: 4.031 kB / 0.7221 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.862e-05/0.5389, allocations: 107.2 kB / 0.7222 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5389, allocations: 0 / 0.7222 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003441/0.5393, allocations: 75.92 kB / 0.7222 GB, free: 7.906 MB / 0.4948 GB 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.0003465/0.5396, allocations: 156.1 kB / 0.7224 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004164/0.54, allocations: 370.6 kB / 0.7227 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5401, allocations: 0 / 0.7227 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.5402, allocations: 135.4 kB / 0.7229 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.5404, allocations: 8.062 kB / 0.7229 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.5408, allocations: 218.5 kB / 0.7231 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.5411, allocations: 0.6966 MB / 0.7238 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.755e-06/0.5411, allocations: 0 / 0.7238 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.147e-05/0.5411, allocations: 7.438 kB / 0.7238 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of SimCode: time 3.31e-07/0.5411, allocations: 4 kB / 0.7238 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of Templates: time 0.005236/0.5463, allocations: 1.859 MB / 0.7256 GB, free: 4.371 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)