Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.QuinticHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IDEAS_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.006591/0.006591, allocations: 99.7 kB / 15.73 MB, free: 6.043 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.001202/0.001202, allocations: 197.6 kB / 16.67 MB, free: 5.973 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.555/1.555, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7542/0.7542, allocations: 132.2 MB / 422.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 65.78 kB / 0.5809 GB, free: 1.059 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1819, allocations: 80.21 MB / 0.6592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002217/0.1841, allocations: 0.6209 MB / 0.6598 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005108/0.1847, allocations: 207.5 kB / 0.66 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.1847, allocations: 0 / 0.66 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.1847, allocations: 3.938 kB / 0.66 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.185, allocations: 7.938 kB / 0.6601 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.1852, allocations: 75.75 kB / 0.6601 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.565e-05/0.1853, allocations: 31.91 kB / 0.6602 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.1854, allocations: 3.938 kB / 0.6602 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.885e-05/0.1854, allocations: 23.86 kB / 0.6602 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.542e-05/0.1855, allocations: 23.91 kB / 0.6602 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1855, allocations: 4 kB / 0.6602 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.1857, allocations: 107.7 kB / 0.6603 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.1857, allocations: 4 kB / 0.6603 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.1858, allocations: 19.86 kB / 0.6603 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.1859, allocations: 99.8 kB / 0.6604 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1859, allocations: 0 / 0.6604 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.186, allocations: 3.938 kB / 0.6604 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.186, allocations: 4 kB / 0.6604 GB, free: 12.66 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.0005199/0.1865, allocations: 362.3 kB / 0.6608 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1865, allocations: 12.03 kB / 0.6608 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.547e-05/0.1866, allocations: 34.75 kB / 0.6608 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.1866, allocations: 8.844 kB / 0.6608 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.1868, allocations: 169.2 kB / 0.661 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1868, allocations: 384 / 0.661 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.1868, allocations: 4.375 kB / 0.661 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.187, allocations: 60.66 kB / 0.6611 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.187, allocations: 7.938 kB / 0.6611 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.187, allocations: 0 / 0.6611 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.187, allocations: 0 / 0.6611 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.1872, allocations: 43.89 kB / 0.6611 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.1875, allocations: 248.8 kB / 0.6613 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.1877, allocations: 70.47 kB / 0.6614 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.052e-05/0.1878, allocations: 24.94 kB / 0.6614 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1878, allocations: 0 / 0.6614 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1878, allocations: 30.56 kB / 0.6615 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1878, allocations: 0 / 0.6615 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.02837/0.2162, allocations: 1.616 MB / 0.663 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.2163, allocations: 55.41 kB / 0.6631 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.2164, allocations: 113.8 kB / 0.6632 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/0.2165, allocations: 34.08 kB / 0.6632 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.2165, allocations: 84.14 kB / 0.6633 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.2166, allocations: 31.53 kB / 0.6633 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.2169, allocations: 33.7 kB / 0.6634 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.217, allocations: 318.7 kB / 0.6637 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.2175, allocations: 147.9 kB / 0.6638 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/0.2179, allocations: 143.9 kB / 0.664 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009784/0.2189, allocations: 296.7 kB / 0.6642 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2189, allocations: 0 / 0.6642 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001163/0.2201, allocations: 329.6 kB / 0.6646 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.2201, allocations: 8 kB / 0.6646 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2202, allocations: 7.938 kB / 0.6646 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.2202, allocations: 0 / 0.6646 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.2218, allocations: 55.94 kB / 0.6646 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.2218, allocations: 4 kB / 0.6646 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.2232, allocations: 47.94 kB / 0.6647 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/0.2233, allocations: 4 kB / 0.6647 GB, free: 8.082 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.0001705/0.2235, allocations: 121.8 kB / 0.6648 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.287e-05/0.2236, allocations: 3.906 kB / 0.6648 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.2237, allocations: 24.36 kB / 0.6648 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2237, allocations: 0 / 0.6648 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2237, allocations: 0 / 0.6648 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2237, allocations: 0 / 0.6648 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005981/0.2297, allocations: 0.8452 MB / 0.6657 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2297, allocations: 0 / 0.6657 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.231, allocations: 56.22 kB / 0.6657 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.231, allocations: 0 / 0.6657 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-05/0.231, allocations: 3.938 kB / 0.6657 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.231, allocations: 7.938 kB / 0.6657 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2311, allocations: 4.062 kB / 0.6657 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009201/0.232, allocations: 321.5 kB / 0.666 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.232, allocations: 89 kB / 0.6661 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/0.2321, allocations: 11.88 kB / 0.6661 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.2332, allocations: 43.95 kB / 0.6662 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.2333, allocations: 7.969 kB / 0.6662 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/0.2333, allocations: 8.062 kB / 0.6662 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.575e-05/0.2334, allocations: 91.27 kB / 0.6663 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2334, allocations: 0 / 0.6663 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00038/0.2338, allocations: 96 kB / 0.6664 GB, free: 6.246 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.001309/0.2351, allocations: 0.8779 MB / 0.6672 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009554/0.236, allocations: 243.8 kB / 0.6674 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2361, allocations: 0 / 0.6674 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004035/0.2365, allocations: 104 kB / 0.6675 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.2368, allocations: 9.5 kB / 0.6676 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006557/0.2433, allocations: 2.663 MB / 0.6702 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.2436, allocations: 0.6901 MB / 0.6708 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004304/0.244, allocations: 55.92 kB / 0.6709 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004678/0.2445, allocations: 19.42 kB / 0.6709 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.2445, allocations: 480 / 0.6709 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.2722, allocations: 10.21 MB / 0.6809 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.111, allocations: 0.6562 kB / 0.6809 GB, free: 7.293 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)