Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",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.00161/0.00161, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 196.1 kB / 16.53 MB, free: 6.391 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9186/0.9186, allocations: 135.1 MB / 425.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 59.58 kB / 0.5055 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.154, allocations: 80.93 MB / 0.5845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002426/0.1565, allocations: 0.6129 MB / 0.5851 GB, free: 3.809 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004829/0.157, allocations: 203.1 kB / 0.5853 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.569e-05/0.1571, allocations: 0 / 0.5853 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.33e-05/0.1571, allocations: 3.938 kB / 0.5853 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.1573, allocations: 11.92 kB / 0.5853 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.1577, allocations: 71.75 kB / 0.5854 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.482e-05/0.1578, allocations: 31.92 kB / 0.5854 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.616e-05/0.1579, allocations: 3.984 kB / 0.5854 GB, free: 3.488 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.197e-05/0.1579, allocations: 11.94 kB / 0.5854 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.942e-05/0.158, allocations: 23.89 kB / 0.5854 GB, free: 3.453 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.158, allocations: 4 kB / 0.5854 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.1583, allocations: 115.7 kB / 0.5855 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.1583, allocations: 8 kB / 0.5856 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.1584, allocations: 15.92 kB / 0.5856 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.1587, allocations: 103.7 kB / 0.5857 GB, free: 3.211 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.1587, allocations: 3.984 kB / 0.5857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.1587, allocations: 0 / 0.5857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1587, allocations: 0 / 0.5857 GB, free: 3.207 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000714/0.1595, allocations: 371.6 kB / 0.586 GB, free: 2.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1595, allocations: 16.03 kB / 0.586 GB, free: 2.777 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.054e-05/0.1596, allocations: 34.75 kB / 0.5861 GB, free: 2.734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.1596, allocations: 4.938 kB / 0.5861 GB, free: 2.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.1598, allocations: 172.3 kB / 0.5862 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1598, allocations: 384 / 0.5862 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.1598, allocations: 384 / 0.5862 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.16, allocations: 54.23 kB / 0.5863 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.16, allocations: 3.938 kB / 0.5863 GB, free: 2.461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.16, allocations: 11.94 kB / 0.5863 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.16, allocations: 4 kB / 0.5863 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.1602, allocations: 27.97 kB / 0.5863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.1605, allocations: 252.9 kB / 0.5866 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.1607, allocations: 70.53 kB / 0.5866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.391e-05/0.1608, allocations: 28.94 kB / 0.5867 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.1609, allocations: 0 / 0.5867 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.1609, allocations: 34.5 kB / 0.5867 GB, free: 1.969 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.1609, allocations: 0 / 0.5867 GB, free: 1.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.02887/0.1898, allocations: 1.616 MB / 0.5883 GB, free: 352 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.1898, allocations: 51.41 kB / 0.5883 GB, free: 288 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.1899, allocations: 117.8 kB / 0.5884 GB, free: 160 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/0.19, allocations: 33.7 kB / 0.5885 GB, free: 120 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.1901, allocations: 84.05 kB / 0.5886 GB, free: 32 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.062e-05/0.1902, allocations: 31.62 kB / 0.5886 GB, free: 0 / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.1904, allocations: 25.78 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1905, allocations: 322.8 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/0.191, allocations: 143.9 kB / 0.5891 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.1915, allocations: 139.9 kB / 0.5892 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.1926, allocations: 296.7 kB / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1926, allocations: 0 / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001228/0.1938, allocations: 341.4 kB / 0.5898 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1939, allocations: 4 kB / 0.5898 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1939, allocations: 0 / 0.5898 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1939, allocations: 8 kB / 0.5898 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.1956, allocations: 59.92 kB / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1956, allocations: 0 / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.1971, allocations: 48.59 kB / 0.5899 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/0.1971, allocations: 8 kB / 0.5899 GB, free: 14.61 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001852/0.1973, allocations: 113.8 kB / 0.59 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/0.1974, allocations: 0 / 0.59 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.1975, allocations: 20.38 kB / 0.5901 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1976, allocations: 4 kB / 0.5901 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1976, allocations: 0 / 0.5901 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1976, allocations: 7.922 kB / 0.5901 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006062/0.2036, allocations: 0.8415 MB / 0.5909 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2037, allocations: 0 / 0.5909 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.2049, allocations: 51.94 kB / 0.5909 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.2049, allocations: 4 kB / 0.5909 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.2049, allocations: 3.938 kB / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2049, allocations: 4 kB / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.205, allocations: 64 / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009652/0.2059, allocations: 333 kB / 0.5913 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.206, allocations: 81.09 kB / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.907e-05/0.2061, allocations: 11.94 kB / 0.5914 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.2072, allocations: 39.95 kB / 0.5914 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.2072, allocations: 4 kB / 0.5914 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.2073, allocations: 7.984 kB / 0.5914 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.033e-05/0.2073, allocations: 87.28 kB / 0.5915 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2073, allocations: 0 / 0.5915 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004269/0.2078, allocations: 99.98 kB / 0.5916 GB, free: 12.79 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.001365/0.2091, allocations: 0.869 MB / 0.5924 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.2102, allocations: 255.8 kB / 0.5927 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2102, allocations: 0 / 0.5927 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005187/0.2107, allocations: 99.81 kB / 0.5928 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.211, allocations: 9.688 kB / 0.5928 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006949/0.218, allocations: 2.672 MB / 0.5954 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.2183, allocations: 0.6924 MB / 0.5961 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005323/0.2189, allocations: 48 kB / 0.5961 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/0.2193, allocations: 19.42 kB / 0.5961 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of SimCode: time 1.333e-06/0.2193, allocations: 3.938 kB / 0.5961 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2708/0.4902, allocations: 9.76 MB / 0.6057 GB, free: 51.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/8.147, allocations: 6.406 kB / 0.6057 GB, free: 51.9 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)