Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_dev_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.00122/0.00122, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001306/0.001306, allocations: 195.6 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.862/0.862, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 68.02 kB / 0.5048 GB, free: 5.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.159, allocations: 80.93 MB / 0.5838 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001827/0.1609, allocations: 0.6622 MB / 0.5845 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1628, allocations: 1.417 MB / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.841e-05/0.1628, allocations: 0 / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.2e-05/0.1629, allocations: 11.94 kB / 0.5859 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.163, allocations: 3.938 kB / 0.5859 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.1634, allocations: 127.8 kB / 0.586 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.34e-05/0.1635, allocations: 51.88 kB / 0.586 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.127e-05/0.1636, allocations: 0 / 0.586 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.1636, allocations: 23.92 kB / 0.5861 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.008e-05/0.1637, allocations: 23.91 kB / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.1637, allocations: 8 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.164, allocations: 191.7 kB / 0.5863 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.719e-05/0.164, allocations: 8 kB / 0.5863 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.1641, allocations: 27.8 kB / 0.5863 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.1643, allocations: 183.9 kB / 0.5865 GB, free: 2.176 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1643, allocations: 0 / 0.5865 GB, free: 2.176 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1643, allocations: 0 / 0.5865 GB, free: 2.176 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1643, allocations: 0 / 0.5865 GB, free: 2.176 MB / 494.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.000583/0.1649, allocations: 442.7 kB / 0.5869 GB, free: 1.684 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.165, allocations: 8.031 kB / 0.5869 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.165, allocations: 38.75 kB / 0.587 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.165, allocations: 4.844 kB / 0.587 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.1652, allocations: 184.2 kB / 0.5871 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.1652, allocations: 384 / 0.5871 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.1652, allocations: 4.375 kB / 0.5871 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1654, allocations: 97.77 kB / 0.5872 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.1654, allocations: 4 kB / 0.5872 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.1654, allocations: 0 / 0.5872 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.1654, allocations: 0 / 0.5872 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.75e-05/0.1655, allocations: 59.95 kB / 0.5873 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.1658, allocations: 181.6 kB / 0.5875 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1659, allocations: 82.47 kB / 0.5875 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.644e-05/0.166, allocations: 72.89 kB / 0.5876 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.166, allocations: 0 / 0.5876 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.166, allocations: 34.5 kB / 0.5876 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.166, allocations: 0 / 0.5876 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004272/0.1665, allocations: 251.3 kB / 0.5879 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.1665, allocations: 81.11 kB / 0.588 GB, free: 460 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.1667, allocations: 151.9 kB / 0.5881 GB, free: 300 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.1667, allocations: 33.64 kB / 0.5881 GB, free: 260 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.1667, allocations: 96.11 kB / 0.5882 GB, free: 160 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.1668, allocations: 11.81 kB / 0.5882 GB, free: 148 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.1668, allocations: 29.7 kB / 0.5883 GB, free: 112 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1669, allocations: 314.8 kB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.1671, allocations: 108 kB / 0.5887 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1672, allocations: 99.94 kB / 0.5888 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.1675, allocations: 281.8 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1675, allocations: 0 / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003385/0.1678, allocations: 328.2 kB / 0.5893 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.658e-05/0.1679, allocations: 71.39 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1679, allocations: 0 / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.1679, allocations: 0 / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.374e-06/0.1679, allocations: 3.938 kB / 0.5894 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1679, allocations: 7.984 kB / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.168, allocations: 15.91 kB / 0.5894 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.1681, allocations: 4 kB / 0.5894 GB, free: 14.84 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.1682, allocations: 147.5 kB / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.1682, allocations: 7.938 kB / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.857e-05/0.1682, allocations: 12.25 kB / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1682, allocations: 0 / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1682, allocations: 3.984 kB / 0.5896 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1682, allocations: 144 / 0.5896 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.1684, allocations: 169.6 kB / 0.5898 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1684, allocations: 7.938 kB / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-06/0.1684, allocations: 7.969 kB / 0.5898 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.1684, allocations: 0 / 0.5898 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1684, allocations: 8 kB / 0.5898 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1684, allocations: 0 / 0.5898 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1684, allocations: 0 / 0.5898 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1687, allocations: 218.7 kB / 0.59 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.1687, allocations: 92.89 kB / 0.5901 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.1688, allocations: 8.031 kB / 0.5901 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.478e-05/0.1688, allocations: 0 / 0.5901 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.1689, allocations: 7.984 kB / 0.5901 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.1689, allocations: 11.94 kB / 0.5901 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.6e-05/0.169, allocations: 103.2 kB / 0.5902 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.169, allocations: 0 / 0.5902 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002628/0.1692, allocations: 64 kB / 0.5903 GB, free: 13.88 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006769/0.1699, allocations: 0.8131 MB / 0.5911 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004947/0.1704, allocations: 370.6 kB / 0.5914 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1704, allocations: 0 / 0.5914 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.1706, allocations: 139.3 kB / 0.5916 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.1707, allocations: 5.406 kB / 0.5916 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.1727, allocations: 2.145 MB / 0.5937 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.173, allocations: 0.6926 MB / 0.5943 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.112e-06/0.173, allocations: 0 / 0.5943 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.1731, allocations: 15.44 kB / 0.5944 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1731, allocations: 0 / 0.5944 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01353/0.1866, allocations: 3.03 MB / 0.5973 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/0.1868, allocations: 200.2 kB / 0.5975 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/1.948, allocations: 0 / 0.5975 GB, free: 6.352 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_CubicHermite.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)