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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8234/0.8234, allocations: 141.8 MB / 149.3 MB, free: 9.184 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.001218/0.001218, allocations: 172.8 kB / 182.2 MB, free: 9.422 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.507/1.507, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.000933/0.000933, allocations: 89.59 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001982/0.001982, allocations: 278 kB / 0.5889 GB, free: 54.62 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.972e-05, allocations: 8 kB / 0.6766 GB, free: 12.68 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5165/0.5165, allocations: 82.76 MB / 0.7575 GB, free: 31.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1731/0.6897, allocations: 108.8 MB / 0.8637 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/0.6901, allocations: 76.98 kB / 0.8638 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01083/0.7009, allocations: 3.208 MB / 0.8669 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.043e-06/0.701, allocations: 0 / 0.8669 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.701, allocations: 0 / 0.8669 GB, free: 15.69 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.0004438/0.7015, allocations: 433.7 kB / 0.8673 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.7015, allocations: 16.03 kB / 0.8673 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.7016, allocations: 3.906 kB / 0.8673 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.7018, allocations: 171.6 kB / 0.8675 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.7018, allocations: 11.94 kB / 0.8675 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.7018, allocations: 4 kB / 0.8675 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001304/0.7019, allocations: 55.97 kB / 0.8676 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.7021, allocations: 93.64 kB / 0.8676 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.7021, allocations: 0 / 0.8676 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.7021, allocations: 4 kB / 0.8676 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.7021, allocations: 0 / 0.8676 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.7023, allocations: 158.2 kB / 0.8678 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.7024, allocations: 74.55 kB / 0.8679 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.613e-05/0.7025, allocations: 68.89 kB / 0.8679 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.7026, allocations: 7.922 kB / 0.8679 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.7026, allocations: 34.52 kB / 0.868 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.7026, allocations: 0 / 0.868 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0004257/0.703, allocations: 157.5 kB / 0.8681 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.7031, allocations: 89.12 kB / 0.8682 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.7033, allocations: 130.6 kB / 0.8683 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.7033, allocations: 25.7 kB / 0.8684 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.879e-05/0.7034, allocations: 92.12 kB / 0.8684 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.7034, allocations: 11.81 kB / 0.8685 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.7034, allocations: 0 / 0.8685 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.7036, allocations: 322.8 kB / 0.8688 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.7037, allocations: 99.88 kB / 0.8689 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.7039, allocations: 99.94 kB / 0.869 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.7041, allocations: 91.88 kB / 0.869 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7041, allocations: 0 / 0.869 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003546/0.7044, allocations: 261.3 kB / 0.8693 GB, free: 13 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.571e-05/0.7045, allocations: 67.39 kB / 0.8694 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.7045, allocations: 0 / 0.8694 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.7045, allocations: 3.953 kB / 0.8694 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.7046, allocations: 0 / 0.8694 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.7046, allocations: 0 / 0.8694 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.855e-05/0.7046, allocations: 11.94 kB / 0.8694 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.7047, allocations: 12.05 kB / 0.8694 GB, free: 12.9 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 0.0001168/0.7048, allocations: 138.7 kB / 0.8695 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002403/0.7051, allocations: 165.5 kB / 0.8697 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.7051, allocations: 11.86 kB / 0.8697 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.7051, allocations: 12.33 kB / 0.8697 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.7051, allocations: 0 / 0.8697 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7051, allocations: 0 / 0.8697 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.7051, allocations: 3.938 kB / 0.8697 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.7053, allocations: 154.2 kB / 0.8699 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.7053, allocations: 4.031 kB / 0.8699 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.7053, allocations: 0 / 0.8699 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7053, allocations: 0 / 0.8699 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.7053, allocations: 0 / 0.8699 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.7053, allocations: 7.953 kB / 0.8699 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.7053, allocations: 0 / 0.8699 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.7056, allocations: 185 kB / 0.87 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.7057, allocations: 89 kB / 0.8701 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.7057, allocations: 4.031 kB / 0.8701 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.828e-05/0.7058, allocations: 4 kB / 0.8701 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.7059, allocations: 19.94 kB / 0.8702 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.7059, allocations: 4 kB / 0.8702 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.988e-05/0.706, allocations: 100.8 kB / 0.8703 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.706, allocations: 0 / 0.8703 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003133/0.7063, allocations: 75.88 kB / 0.8703 GB, free: 11.84 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.0007511/0.707, allocations: 0.7918 MB / 0.8711 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004234/0.7075, allocations: 354.7 kB / 0.8714 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7075, allocations: 0 / 0.8714 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.7077, allocations: 139.3 kB / 0.8716 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.7078, allocations: 7.953 kB / 0.8716 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.7084, allocations: 219.8 kB / 0.8718 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.7087, allocations: 0.7002 MB / 0.8725 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.434e-06/0.7087, allocations: 0 / 0.8725 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.7087, allocations: 15.44 kB / 0.8725 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.7087, allocations: 0 / 0.8725 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.7308, allocations: 2.451 MB / 0.8749 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.731, allocations: 159.7 kB / 0.875 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.586, allocations: 1.406 kB / 0.875 GB, free: 6.875 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)