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.006728/0.006728, allocations: 106 kB / 15.74 MB, free: 5.992 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.002157/0.002157, allocations: 196 kB / 16.67 MB, free: 5.914 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8297/0.8297, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002606, allocations: 61.5 kB / 0.5852 GB, free: 21.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1615, allocations: 80.93 MB / 0.6642 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001768/0.1633, allocations: 0.6264 MB / 0.6648 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004747/0.1638, allocations: 202.1 kB / 0.665 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.1639, allocations: 0 / 0.665 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.1639, allocations: 3.938 kB / 0.665 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.1641, allocations: 15.91 kB / 0.665 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.1643, allocations: 67.77 kB / 0.6651 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.04e-05/0.1644, allocations: 39.91 kB / 0.6651 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.877e-05/0.1645, allocations: 7.922 kB / 0.6651 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.776e-05/0.1645, allocations: 15.94 kB / 0.6651 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.746e-05/0.1646, allocations: 19.91 kB / 0.6652 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1646, allocations: 4 kB / 0.6652 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.1648, allocations: 107.7 kB / 0.6653 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.1649, allocations: 7.984 kB / 0.6653 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.1649, allocations: 15.86 kB / 0.6653 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.1651, allocations: 103.8 kB / 0.6654 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.572e-05/0.1651, allocations: 4 kB / 0.6654 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.325e-06/0.1651, allocations: 4 kB / 0.6654 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.1651, allocations: 0 / 0.6654 GB, free: 5.012 MB / 0.4981 GB 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.0005819/0.1657, allocations: 362.3 kB / 0.6657 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1658, allocations: 13.11 kB / 0.6658 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.1658, allocations: 30.75 kB / 0.6658 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.1659, allocations: 4.844 kB / 0.6658 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.166, allocations: 169.2 kB / 0.666 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.166, allocations: 8.375 kB / 0.666 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1661, allocations: 4.375 kB / 0.666 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1663, allocations: 54.23 kB / 0.666 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1663, allocations: 3.938 kB / 0.666 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.1663, allocations: 0 / 0.666 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1663, allocations: 0 / 0.666 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.1664, allocations: 39.91 kB / 0.6661 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.1668, allocations: 260.8 kB / 0.6663 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.167, allocations: 70.47 kB / 0.6664 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.336e-05/0.1671, allocations: 24.94 kB / 0.6664 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.1671, allocations: 0 / 0.6664 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1671, allocations: 34.5 kB / 0.6664 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1671, allocations: 7.938 kB / 0.6664 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.02886/0.196, allocations: 1.605 MB / 0.668 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.1961, allocations: 55.41 kB / 0.6681 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.1963, allocations: 117.8 kB / 0.6682 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/0.1963, allocations: 29.7 kB / 0.6682 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.1964, allocations: 92.05 kB / 0.6683 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.579e-05/0.1965, allocations: 27.64 kB / 0.6683 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.1967, allocations: 25.61 kB / 0.6683 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1968, allocations: 322.8 kB / 0.6687 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004917/0.1973, allocations: 143.9 kB / 0.6688 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004704/0.1978, allocations: 135.9 kB / 0.6689 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009855/0.1988, allocations: 300.7 kB / 0.6692 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1988, allocations: 0 / 0.6692 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001189/0.2, allocations: 333.5 kB / 0.6695 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2, allocations: 4 kB / 0.6695 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2, allocations: 0 / 0.6695 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2001, allocations: 0 / 0.6695 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.2017, allocations: 67.92 kB / 0.6696 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2017, allocations: 0 / 0.6696 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.2031, allocations: 48.59 kB / 0.6696 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.2032, allocations: 8.422 kB / 0.6696 GB, free: 444 kB / 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.0001644/0.2034, allocations: 113.8 kB / 0.6698 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-05/0.2034, allocations: 7.906 kB / 0.6698 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.2036, allocations: 20.38 kB / 0.6698 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.2036, allocations: 3.984 kB / 0.6698 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2036, allocations: 0 / 0.6698 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2036, allocations: 7.922 kB / 0.6698 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006059/0.2097, allocations: 0.8528 MB / 0.6706 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2097, allocations: 0 / 0.6706 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.2109, allocations: 51.94 kB / 0.6707 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.2109, allocations: 8.062 kB / 0.6707 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/0.211, allocations: 7.938 kB / 0.6707 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.211, allocations: 0 / 0.6707 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.211, allocations: 7.938 kB / 0.6707 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009194/0.2119, allocations: 321.2 kB / 0.671 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.212, allocations: 81.02 kB / 0.6711 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.433e-05/0.212, allocations: 15.92 kB / 0.6711 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.2131, allocations: 35.95 kB / 0.6711 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/0.2131, allocations: 4 kB / 0.6711 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/0.2132, allocations: 7.984 kB / 0.6711 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.57e-05/0.2133, allocations: 95.28 kB / 0.6712 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2133, allocations: 0 / 0.6712 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003843/0.2137, allocations: 95.98 kB / 0.6713 GB, free: 14.6 MB / 0.5137 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.001293/0.215, allocations: 0.8741 MB / 0.6722 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009636/0.2159, allocations: 247.8 kB / 0.6724 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.216, allocations: 4 kB / 0.6724 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000407/0.2164, allocations: 95.89 kB / 0.6725 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.2167, allocations: 7.938 kB / 0.6725 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00656/0.2232, allocations: 2.671 MB / 0.6751 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.2235, allocations: 0.6884 MB / 0.6758 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004199/0.2239, allocations: 51.98 kB / 0.6758 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004654/0.2244, allocations: 19.42 kB / 0.6759 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of SimCode: time 6.62e-07/0.2244, allocations: 3.938 kB / 0.6759 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.2534, allocations: 10.23 MB / 0.6859 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/7.987, allocations: 3.406 kB / 0.6859 GB, free: 15.61 MB / 0.5294 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)