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.0007966/0.0007966, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008766/0.0008766, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9206/0.9206, allocations: 135.3 MB / 426.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003104, allocations: 12 kB / 0.5071 GB, free: 5.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1509, allocations: 82.32 MB / 0.5875 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.0006644/0.1516, allocations: 323.1 kB / 0.5878 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1534, allocations: 1.336 MB / 0.5891 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.1534, allocations: 0 / 0.5891 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.558e-05/0.1535, allocations: 7.938 kB / 0.5891 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.623e-05/0.1536, allocations: 3.984 kB / 0.5891 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005635/0.1541, allocations: 135.8 kB / 0.5892 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.055e-05/0.1542, allocations: 39.91 kB / 0.5893 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.1543, allocations: 0 / 0.5893 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.881e-05/0.1543, allocations: 27.91 kB / 0.5893 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.1544, allocations: 19.97 kB / 0.5893 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1544, allocations: 4 kB / 0.5893 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.1547, allocations: 179.7 kB / 0.5895 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.1547, allocations: 11.94 kB / 0.5895 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.1548, allocations: 33.7 kB / 0.5895 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.1549, allocations: 124.1 kB / 0.5897 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1549, allocations: 3.938 kB / 0.5897 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.155, allocations: 4 kB / 0.5897 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.105e-06/0.155, allocations: 0 / 0.5897 GB, free: 0.6094 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.0003699/0.1553, allocations: 430.5 kB / 0.5901 GB, free: 132 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1554, allocations: 12.03 kB / 0.5901 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.078e-05/0.1554, allocations: 30.56 kB / 0.5901 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.1555, allocations: 7.906 kB / 0.5901 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.1556, allocations: 178.9 kB / 0.5903 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1556, allocations: 0 / 0.5903 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1556, allocations: 4 kB / 0.5903 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.1558, allocations: 101.6 kB / 0.5904 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.1558, allocations: 3.984 kB / 0.5904 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1558, allocations: 0 / 0.5904 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1558, allocations: 0 / 0.5904 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.603e-05/0.1559, allocations: 63.89 kB / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.1561, allocations: 177.6 kB / 0.5906 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.1562, allocations: 86.52 kB / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.026e-05/0.1563, allocations: 64.89 kB / 0.5908 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.1563, allocations: 7.984 kB / 0.5908 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.1563, allocations: 30.56 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1563, allocations: 4 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003819/0.1567, allocations: 251.1 kB / 0.5911 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.1568, allocations: 85.11 kB / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1569, allocations: 148.3 kB / 0.5913 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1569, allocations: 25.7 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.157, allocations: 100.1 kB / 0.5914 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.157, allocations: 7.891 kB / 0.5914 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.157, allocations: 4 kB / 0.5914 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1571, allocations: 318.8 kB / 0.5917 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1573, allocations: 103.9 kB / 0.5918 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.1574, allocations: 99.94 kB / 0.5919 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.1576, allocations: 163.3 kB / 0.5921 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1576, allocations: 0 / 0.5921 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003438/0.1579, allocations: 324.7 kB / 0.5924 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.925e-05/0.158, allocations: 71.45 kB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.158, allocations: 4 kB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.158, allocations: 0 / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.158, allocations: 0 / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.158, allocations: 7.984 kB / 0.5925 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.1582, allocations: 11.84 kB / 0.5925 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.1582, allocations: 7.984 kB / 0.5925 GB, free: 13.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.1583, allocations: 155.5 kB / 0.5926 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.1583, allocations: 7.906 kB / 0.5926 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.529e-05/0.1583, allocations: 12.19 kB / 0.5926 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1584, allocations: 0 / 0.5926 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1584, allocations: 4 kB / 0.5926 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1584, allocations: 0 / 0.5926 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.1585, allocations: 177.6 kB / 0.5928 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1585, allocations: 0 / 0.5928 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.1585, allocations: 0 / 0.5928 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1585, allocations: 0 / 0.5928 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.1585, allocations: 0 / 0.5928 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.1585, allocations: 3.938 kB / 0.5928 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1585, allocations: 8 kB / 0.5928 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.1588, allocations: 230.6 kB / 0.593 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.1588, allocations: 88.97 kB / 0.5931 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.1589, allocations: 3.984 kB / 0.5931 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.886e-05/0.1589, allocations: 4 kB / 0.5931 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.159, allocations: 11.98 kB / 0.5932 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.159, allocations: 4 kB / 0.5932 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.853e-05/0.1591, allocations: 99.3 kB / 0.5933 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1591, allocations: 4 kB / 0.5933 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002892/0.1594, allocations: 67.98 kB / 0.5933 GB, free: 12.47 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 (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.0006776/0.1601, allocations: 0.8092 MB / 0.5941 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003668/0.1604, allocations: 374.6 kB / 0.5945 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1605, allocations: 4.094 kB / 0.5945 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.1606, allocations: 139.3 kB / 0.5946 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.1607, allocations: 5.719 kB / 0.5946 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.162, allocations: 1.016 MB / 0.5956 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.1622, allocations: 0.6926 MB / 0.5963 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.33e-06/0.1623, allocations: 0 / 0.5963 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.1623, allocations: 19.44 kB / 0.5963 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1623, allocations: 0 / 0.5963 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01302/0.1753, allocations: 2.921 MB / 0.5991 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/0.1755, allocations: 186.6 kB / 0.5993 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/1.832, allocations: 3.938 kB / 0.5993 GB, free: 6.266 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/linux/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) Environment - environmentSimulation: