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.001396/0.001396, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001551/0.001551, allocations: 194.7 kB / 16.25 MB, free: 6.617 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.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7225/0.7225, allocations: 132.2 MB / 422.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.16 kB / 0.5014 GB, free: 8.98 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1424, allocations: 80.21 MB / 0.5797 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001633/0.1441, allocations: 0.6738 MB / 0.5803 GB, free: 8.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1455, allocations: 1.386 MB / 0.5817 GB, free: 6.922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.877e-05/0.1456, allocations: 0 / 0.5817 GB, free: 6.922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.508e-05/0.1456, allocations: 3.938 kB / 0.5817 GB, free: 6.918 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.062e-05/0.1457, allocations: 4 kB / 0.5817 GB, free: 6.914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.1462, allocations: 162.6 kB / 0.5819 GB, free: 6.758 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.149e-05/0.1463, allocations: 51.91 kB / 0.5819 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.298e-05/0.1463, allocations: 4 kB / 0.5819 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.891e-05/0.1463, allocations: 19.92 kB / 0.5819 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.1464, allocations: 27.91 kB / 0.582 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.1464, allocations: 0 / 0.582 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002531/0.1467, allocations: 203.7 kB / 0.5822 GB, free: 6.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.1467, allocations: 8 kB / 0.5822 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.1467, allocations: 27.8 kB / 0.5822 GB, free: 6.422 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.147, allocations: 191.8 kB / 0.5824 GB, free: 6.234 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.147, allocations: 4 kB / 0.5824 GB, free: 6.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.147, allocations: 0 / 0.5824 GB, free: 6.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.147, allocations: 0 / 0.5824 GB, free: 6.23 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.0003503/0.1473, allocations: 434.6 kB / 0.5828 GB, free: 5.746 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.1474, allocations: 12.03 kB / 0.5828 GB, free: 5.734 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.035e-05/0.1474, allocations: 30.75 kB / 0.5828 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.1474, allocations: 4.938 kB / 0.5828 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.1476, allocations: 184.1 kB / 0.583 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1476, allocations: 4.375 kB / 0.583 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.1476, allocations: 384 / 0.583 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1477, allocations: 105.8 kB / 0.5831 GB, free: 5.359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.1478, allocations: 0 / 0.5831 GB, free: 5.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1478, allocations: 0 / 0.5831 GB, free: 5.359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.1478, allocations: 4 kB / 0.5831 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.601e-05/0.1479, allocations: 59.95 kB / 0.5832 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.148, allocations: 177.5 kB / 0.5833 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.1481, allocations: 82.47 kB / 0.5834 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.835e-05/0.1482, allocations: 72.89 kB / 0.5835 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-06/0.1482, allocations: 0 / 0.5835 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.1482, allocations: 42.5 kB / 0.5835 GB, free: 4.859 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1482, allocations: 0 / 0.5835 GB, free: 4.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003334/0.1486, allocations: 251.2 kB / 0.5838 GB, free: 4.602 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.1486, allocations: 77.11 kB / 0.5839 GB, free: 4.508 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.1487, allocations: 147.6 kB / 0.584 GB, free: 4.355 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1488, allocations: 29.64 kB / 0.584 GB, free: 4.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.1488, allocations: 100.1 kB / 0.5841 GB, free: 4.219 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.1488, allocations: 15.81 kB / 0.5841 GB, free: 4.203 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.1489, allocations: 29.7 kB / 0.5842 GB, free: 4.168 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.149, allocations: 314.8 kB / 0.5845 GB, free: 3.852 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1491, allocations: 103.9 kB / 0.5846 GB, free: 3.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.1492, allocations: 103.9 kB / 0.5847 GB, free: 3.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.1495, allocations: 273.8 kB / 0.5849 GB, free: 3.359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1495, allocations: 0 / 0.5849 GB, free: 3.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003187/0.1498, allocations: 327.4 kB / 0.5852 GB, free: 3.023 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.316e-05/0.1499, allocations: 71.39 kB / 0.5853 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1499, allocations: 0 / 0.5853 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1499, allocations: 0 / 0.5853 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-06/0.1499, allocations: 4 kB / 0.5853 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1499, allocations: 7.922 kB / 0.5853 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.1501, allocations: 15.83 kB / 0.5853 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.1501, allocations: 4 kB / 0.5853 GB, free: 2.91 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 0.0001199/0.1503, allocations: 151.5 kB / 0.5855 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.1503, allocations: 11.97 kB / 0.5855 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.625e-05/0.1503, allocations: 8.25 kB / 0.5855 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1503, allocations: 0 / 0.5855 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1503, allocations: 0 / 0.5855 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1503, allocations: 7.984 kB / 0.5855 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.1504, allocations: 169.6 kB / 0.5857 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1504, allocations: 3.938 kB / 0.5857 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1505, allocations: 4 kB / 0.5857 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/0.1505, allocations: 4.125 kB / 0.5857 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.1505, allocations: 0 / 0.5857 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1505, allocations: 0 / 0.5857 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1505, allocations: 4 kB / 0.5857 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.1507, allocations: 226.7 kB / 0.5859 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.1508, allocations: 88.95 kB / 0.586 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1508, allocations: 3.938 kB / 0.586 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.482e-05/0.1509, allocations: 7.938 kB / 0.586 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.1509, allocations: 11.98 kB / 0.586 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.1509, allocations: 4 kB / 0.586 GB, free: 2.102 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.721e-05/0.151, allocations: 113.2 kB / 0.5861 GB, free: 1.992 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.151, allocations: 0 / 0.5861 GB, free: 1.992 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1513, allocations: 68 kB / 0.5862 GB, free: 1.926 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.0005835/0.1518, allocations: 0.8092 MB / 0.587 GB, free: 1.078 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.1522, allocations: 374.6 kB / 0.5873 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1522, allocations: 0 / 0.5873 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.1523, allocations: 139.3 kB / 0.5875 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.1525, allocations: 4 kB / 0.5875 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.1542, allocations: 2.135 MB / 0.5895 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.1544, allocations: 0.6924 MB / 0.5902 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.012e-06/0.1544, allocations: 4 kB / 0.5902 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.1544, allocations: 19.47 kB / 0.5902 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1544, allocations: 0 / 0.5902 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2103/0.3647, allocations: 3.115 MB / 0.5933 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/0.365, allocations: 196.3 kB / 0.5935 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.295, allocations: 0 / 0.5935 GB, free: 10.33 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)