Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.069/1.069, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 175.8 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008752/0.0008752, allocations: 82.7 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001755/0.001755, allocations: 285.1 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.178e-05/2.179e-05, allocations: 8 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3622, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.493, allocations: 108.8 MB / 0.8636 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.4932, allocations: 83.83 kB / 0.8637 GB, free: 3.031 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009795/0.503, allocations: 3.195 MB / 0.8668 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5031, allocations: 0 / 0.8668 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.5031, allocations: 0 / 0.8668 GB, free: 15.83 MB / 0.5417 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.0003833/0.5035, allocations: 437.7 kB / 0.8672 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.5035, allocations: 8.031 kB / 0.8672 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.5036, allocations: 4 kB / 0.8672 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.5037, allocations: 171.1 kB / 0.8674 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.5037, allocations: 7.953 kB / 0.8674 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.5037, allocations: 0 / 0.8674 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001364/0.5039, allocations: 59.95 kB / 0.8674 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.504, allocations: 97.59 kB / 0.8675 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.504, allocations: 0 / 0.8675 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.504, allocations: 3.984 kB / 0.8675 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.504, allocations: 0 / 0.8675 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.5042, allocations: 162.1 kB / 0.8677 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.5043, allocations: 78.53 kB / 0.8678 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/0.5044, allocations: 68.89 kB / 0.8678 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.5044, allocations: 4 kB / 0.8678 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.5045, allocations: 38.45 kB / 0.8679 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.5045, allocations: 0 / 0.8679 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0003079/0.5048, allocations: 161.5 kB / 0.868 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.5048, allocations: 85.11 kB / 0.8681 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.5049, allocations: 126.9 kB / 0.8682 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.505, allocations: 29.7 kB / 0.8683 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.505, allocations: 84.14 kB / 0.8683 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.505, allocations: 19.84 kB / 0.8684 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.5051, allocations: 0 / 0.8684 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5052, allocations: 322.8 kB / 0.8687 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.5053, allocations: 95.94 kB / 0.8688 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.5054, allocations: 91.94 kB / 0.8688 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.5056, allocations: 104 kB / 0.8689 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5056, allocations: 0 / 0.8689 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003648/0.506, allocations: 245.4 kB / 0.8692 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.857e-05/0.506, allocations: 67.39 kB / 0.8692 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5061, allocations: 64 / 0.8692 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.5061, allocations: 15.94 kB / 0.8693 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.5061, allocations: 0 / 0.8693 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.5061, allocations: 3.672 kB / 0.8693 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.5062, allocations: 7.938 kB / 0.8693 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.5062, allocations: 12 kB / 0.8693 GB, free: 13.05 MB / 0.5417 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 () * 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 8.893e-05/0.5063, allocations: 142.6 kB / 0.8694 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.5063, allocations: 7.906 kB / 0.8694 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.785e-05/0.5064, allocations: 4.344 kB / 0.8694 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5064, allocations: 11.89 kB / 0.8694 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5064, allocations: 0 / 0.8694 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.5064, allocations: 0 / 0.8694 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.5065, allocations: 154.2 kB / 0.8696 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5065, allocations: 0 / 0.8696 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.5065, allocations: 0 / 0.8696 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.5065, allocations: 0 / 0.8696 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.5065, allocations: 4 kB / 0.8696 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5065, allocations: 0 / 0.8696 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5065, allocations: 3.984 kB / 0.8696 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.5068, allocations: 200.9 kB / 0.8698 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.5069, allocations: 81.02 kB / 0.8699 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.5069, allocations: 4 kB / 0.8699 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.111e-05/0.5069, allocations: 7.938 kB / 0.8699 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.507, allocations: 11.98 kB / 0.8699 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.507, allocations: 0 / 0.8699 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.648e-05/0.5071, allocations: 104.8 kB / 0.87 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5071, allocations: 0 / 0.87 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003417/0.5075, allocations: 87.91 kB / 0.8701 GB, free: 12.14 MB / 0.5417 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) * 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.0002958/0.5078, allocations: 159.1 kB / 0.8702 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003761/0.5081, allocations: 358.7 kB / 0.8706 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5082, allocations: 0 / 0.8706 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.5083, allocations: 131.4 kB / 0.8707 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.5084, allocations: 4 kB / 0.8707 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.5087, allocations: 156.5 kB / 0.8708 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.509, allocations: 0.6963 MB / 0.8715 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.12e-06/0.509, allocations: 0 / 0.8715 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.656e-06/0.509, allocations: 11.44 kB / 0.8715 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of SimCode: time 2.695e-06/0.509, allocations: 0 / 0.8715 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of Templates: time 0.004069/0.5131, allocations: 1.741 MB / 0.8732 GB, free: 8.824 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)