Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.318/2.318, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.298/1.298, allocations: 132.2 MB / 423.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006209/0.000621, allocations: 15.98 kB / 0.5033 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8562/0.8569, allocations: 81.57 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001043/0.858, allocations: 346.2 kB / 0.5833 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002687/0.8607, allocations: 1.329 MB / 0.5846 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.8607, allocations: 0 / 0.5846 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.651e-05/0.8608, allocations: 5.156 kB / 0.5846 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.45e-05/0.8609, allocations: 3.125 kB / 0.5846 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008857/0.8618, allocations: 132.6 kB / 0.5847 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.8619, allocations: 21.03 kB / 0.5848 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.365e-05/0.862, allocations: 3 kB / 0.5848 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.37e-05/0.8621, allocations: 25.59 kB / 0.5848 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.8622, allocations: 24.75 kB / 0.5848 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.8622, allocations: 3.406 kB / 0.5848 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005238/0.8628, allocations: 174.3 kB / 0.585 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.8628, allocations: 9 kB / 0.585 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.8629, allocations: 37.02 kB / 0.585 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.8633, allocations: 120.5 kB / 0.5851 GB, free: 2.645 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.8633, allocations: 3.938 kB / 0.5851 GB, free: 2.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.8633, allocations: 0 / 0.5851 GB, free: 2.641 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.8633, allocations: 0 / 0.5851 GB, free: 2.641 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.0005139/0.8638, allocations: 439.9 kB / 0.5856 GB, free: 2.184 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/0.8639, allocations: 13.84 kB / 0.5856 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.864, allocations: 32.38 kB / 0.5856 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.864, allocations: 8.547 kB / 0.5856 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.8642, allocations: 171.6 kB / 0.5858 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.8642, allocations: 2.344 kB / 0.5858 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.8643, allocations: 2.75 kB / 0.5858 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.8646, allocations: 96.84 kB / 0.5859 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.8646, allocations: 0 / 0.5859 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.8646, allocations: 1.766 kB / 0.5859 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.8647, allocations: 0.625 kB / 0.5859 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.8649, allocations: 64.53 kB / 0.5859 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.8651, allocations: 178.6 kB / 0.5861 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.8653, allocations: 81.36 kB / 0.5862 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.8654, allocations: 0.5938 kB / 0.5862 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.8654, allocations: 39.91 kB / 0.5862 GB, free: 1.605 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.8654, allocations: 1.219 kB / 0.5862 GB, free: 1.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0008865/0.8663, allocations: 333.5 kB / 0.5865 GB, free: 1.426 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.8664, allocations: 80.28 kB / 0.5866 GB, free: 1.332 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.8666, allocations: 146.2 kB / 0.5868 GB, free: 1.219 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.8666, allocations: 27.08 kB / 0.5868 GB, free: 1.188 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.8667, allocations: 96.84 kB / 0.5869 GB, free: 1.094 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.8668, allocations: 6.672 kB / 0.5869 GB, free: 1.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.8668, allocations: 1.781 kB / 0.5869 GB, free: 1.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.894e-05/0.8669, allocations: 323.8 kB / 0.5872 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.8672, allocations: 105.4 kB / 0.5873 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.8675, allocations: 106.2 kB / 0.5874 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.8678, allocations: 162.2 kB / 0.5876 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.8679, allocations: 0.7812 kB / 0.5876 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007373/0.8686, allocations: 318.3 kB / 0.5879 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.369e-05/0.8687, allocations: 72.8 kB / 0.5879 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.8687, allocations: 0 / 0.5879 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.8688, allocations: 1.297 kB / 0.5879 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.926e-06/0.8688, allocations: 0.7812 kB / 0.5879 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.8688, allocations: 0 / 0.5879 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.8691, allocations: 19.98 kB / 0.5879 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.8691, allocations: 4.562 kB / 0.588 GB, free: 464 kB / 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.0001571/0.8693, allocations: 151 kB / 0.5881 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.8693, allocations: 8.531 kB / 0.5881 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.8694, allocations: 15.27 kB / 0.5881 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.8694, allocations: 0 / 0.5881 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.8694, allocations: 0 / 0.5881 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.8694, allocations: 0.625 kB / 0.5881 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.8696, allocations: 173.2 kB / 0.5883 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.8696, allocations: 4 kB / 0.5883 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-06/0.8696, allocations: 3.938 kB / 0.5883 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.8696, allocations: 6.297 kB / 0.5883 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.8697, allocations: 5.312 kB / 0.5883 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8697, allocations: 1.375 kB / 0.5883 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8697, allocations: 0 / 0.5883 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006437/0.8703, allocations: 228.5 kB / 0.5885 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.218e-05/0.8704, allocations: 87.41 kB / 0.5886 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.8705, allocations: 7.016 kB / 0.5886 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.811e-05/0.8706, allocations: 5.234 kB / 0.5886 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.8707, allocations: 7.25 kB / 0.5886 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.8707, allocations: 1.75 kB / 0.5886 GB, free: 15.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.8709, allocations: 108.3 kB / 0.5887 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.8709, allocations: 1.375 kB / 0.5887 GB, free: 15.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000732/0.8717, allocations: 60.86 kB / 0.5888 GB, free: 15.77 MB / 446.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.00137/0.8731, allocations: 0.8173 MB / 0.5896 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000906/0.874, allocations: 372 kB / 0.5899 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.874, allocations: 0 / 0.5899 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.8743, allocations: 133.3 kB / 0.5901 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.8745, allocations: 6.859 kB / 0.5901 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.8758, allocations: 447.9 kB / 0.5905 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.8762, allocations: 0.6938 MB / 0.5912 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.919e-06/0.8763, allocations: 0.7031 kB / 0.5912 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.8763, allocations: 18.23 kB / 0.5912 GB, free: 13.77 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.8763, allocations: 4 kB / 0.5912 GB, free: 13.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.9032, allocations: 2.852 MB / 0.594 GB, free: 13.53 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003683/0.9037, allocations: 170.4 kB / 0.5942 GB, free: 13.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.8/3.704, allocations: 0 / 0.5942 GB, free: 13.3 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) Environment - environmentSimulation: