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.0008821/0.0008821, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001339/0.001339, allocations: 196.2 kB / 16.14 MB, free: 6.719 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.308/1.308, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7321/0.7321, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 60.06 kB / 0.5012 GB, free: 9.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1548, allocations: 80.21 MB / 0.5795 GB, free: 9.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001902/0.1568, allocations: 0.6748 MB / 0.5802 GB, free: 8.438 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.1585, allocations: 1.417 MB / 0.5816 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.185e-05/0.1585, allocations: 0 / 0.5816 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.206e-05/0.1586, allocations: 4 kB / 0.5816 GB, free: 7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.1587, allocations: 0 / 0.5816 GB, free: 7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.1592, allocations: 135.8 kB / 0.5817 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.042e-05/0.1593, allocations: 51.83 kB / 0.5817 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.1593, allocations: 0 / 0.5817 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.1594, allocations: 23.97 kB / 0.5818 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.425e-05/0.1594, allocations: 27.91 kB / 0.5818 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1594, allocations: 4 kB / 0.5818 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.1597, allocations: 187.7 kB / 0.582 GB, free: 6.578 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.183e-05/0.1598, allocations: 7.938 kB / 0.582 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.1598, allocations: 27.84 kB / 0.582 GB, free: 6.543 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.1601, allocations: 187.9 kB / 0.5822 GB, free: 6.359 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1601, allocations: 0 / 0.5822 GB, free: 6.359 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1601, allocations: 0 / 0.5822 GB, free: 6.359 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1601, allocations: 3.938 kB / 0.5822 GB, free: 6.355 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.0004253/0.1605, allocations: 446.6 kB / 0.5826 GB, free: 5.859 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1606, allocations: 8.031 kB / 0.5826 GB, free: 5.852 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.1606, allocations: 34.75 kB / 0.5827 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.1607, allocations: 0.9375 kB / 0.5827 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.1608, allocations: 186.9 kB / 0.5828 GB, free: 5.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1608, allocations: 4.375 kB / 0.5828 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.1608, allocations: 4.375 kB / 0.5828 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.161, allocations: 93.77 kB / 0.5829 GB, free: 5.484 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.161, allocations: 4 kB / 0.5829 GB, free: 5.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.161, allocations: 0 / 0.5829 GB, free: 5.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.161, allocations: 0 / 0.5829 GB, free: 5.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.337e-05/0.1611, allocations: 63.89 kB / 0.583 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.1613, allocations: 177.6 kB / 0.5832 GB, free: 5.195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.1614, allocations: 82.53 kB / 0.5832 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.204e-05/0.1615, allocations: 76.83 kB / 0.5833 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.1615, allocations: 0 / 0.5833 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1615, allocations: 34.5 kB / 0.5833 GB, free: 4.984 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1615, allocations: 0 / 0.5833 GB, free: 4.984 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003644/0.1619, allocations: 255.1 kB / 0.5836 GB, free: 4.723 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.1619, allocations: 85.09 kB / 0.5837 GB, free: 4.621 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.888e-05/0.162, allocations: 137.8 kB / 0.5838 GB, free: 4.477 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1621, allocations: 33.73 kB / 0.5838 GB, free: 4.438 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.1622, allocations: 100.1 kB / 0.5839 GB, free: 4.336 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.1622, allocations: 7.812 kB / 0.5839 GB, free: 4.328 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.1622, allocations: 29.7 kB / 0.584 GB, free: 4.293 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.1623, allocations: 318.8 kB / 0.5843 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.1625, allocations: 103.9 kB / 0.5844 GB, free: 3.871 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.1626, allocations: 99.94 kB / 0.5845 GB, free: 3.773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.1628, allocations: 277.2 kB / 0.5847 GB, free: 3.484 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1628, allocations: 4.031 kB / 0.5847 GB, free: 3.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003031/0.1631, allocations: 328.7 kB / 0.585 GB, free: 3.141 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.1632, allocations: 71.39 kB / 0.5851 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1632, allocations: 3.984 kB / 0.5851 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.1632, allocations: 0 / 0.5851 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.984e-06/0.1632, allocations: 4 kB / 0.5851 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1632, allocations: 0 / 0.5851 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.1633, allocations: 11.84 kB / 0.5851 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1634, allocations: 4 kB / 0.5851 GB, free: 3.035 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.684e-05/0.1635, allocations: 155.6 kB / 0.5853 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.1635, allocations: 7.938 kB / 0.5853 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.58e-05/0.1635, allocations: 12.23 kB / 0.5853 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.1635, allocations: 0 / 0.5853 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.1635, allocations: 144 / 0.5853 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1635, allocations: 3.984 kB / 0.5853 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.729e-05/0.1636, allocations: 177.5 kB / 0.5855 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1636, allocations: 3.938 kB / 0.5855 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1636, allocations: 0 / 0.5855 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1637, allocations: 0 / 0.5855 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1637, allocations: 8 kB / 0.5855 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1637, allocations: 0 / 0.5855 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1637, allocations: 3.938 kB / 0.5855 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.1639, allocations: 222.7 kB / 0.5857 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.164, allocations: 88.95 kB / 0.5858 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.164, allocations: 4 kB / 0.5858 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.307e-05/0.164, allocations: 0 / 0.5858 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.1641, allocations: 11.98 kB / 0.5858 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1641, allocations: 8.031 kB / 0.5858 GB, free: 2.227 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.963e-05/0.1642, allocations: 105.1 kB / 0.5859 GB, free: 2.125 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1642, allocations: 0 / 0.5859 GB, free: 2.125 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1644, allocations: 64 kB / 0.586 GB, free: 2.062 MB / 494.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 (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.0006167/0.1651, allocations: 0.813 MB / 0.5868 GB, free: 1.211 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003517/0.1654, allocations: 374.7 kB / 0.5871 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1654, allocations: 3.938 kB / 0.5871 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.1656, allocations: 135.3 kB / 0.5873 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.1657, allocations: 4 kB / 0.5873 GB, free: 0.668 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.1676, allocations: 2.143 MB / 0.5894 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.1678, allocations: 0.6926 MB / 0.59 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.005e-06/0.1678, allocations: 4.031 kB / 0.59 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.1679, allocations: 23.31 kB / 0.5901 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1679, allocations: 0 / 0.5901 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01182/0.1797, allocations: 3.025 MB / 0.593 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/0.1799, allocations: 197.3 kB / 0.5932 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/1.883, allocations: 3.172 kB / 0.5932 GB, free: 10.53 MB / 0.4981 GB (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/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)