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.005143/0.005143, allocations: 101.2 kB / 15.73 MB, free: 6.027 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.001319/0.001319, allocations: 186.5 kB / 16.67 MB, free: 5.957 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8422/0.8422, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 64.98 kB / 0.5809 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1461, allocations: 80.2 MB / 0.6592 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001623/0.1477, allocations: 0.6328 MB / 0.6599 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004148/0.1482, allocations: 202 kB / 0.66 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.1482, allocations: 0 / 0.66 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.1482, allocations: 3.938 kB / 0.6601 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.1484, allocations: 11.92 kB / 0.6601 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.1486, allocations: 79.75 kB / 0.6601 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.676e-05/0.1486, allocations: 35.84 kB / 0.6602 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.1487, allocations: 4 kB / 0.6602 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.803e-05/0.1487, allocations: 11.92 kB / 0.6602 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.618e-05/0.1488, allocations: 19.92 kB / 0.6602 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.1488, allocations: 0 / 0.6602 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.149, allocations: 111.7 kB / 0.6603 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.149, allocations: 11.97 kB / 0.6603 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.1491, allocations: 15.88 kB / 0.6603 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1492, allocations: 99.97 kB / 0.6604 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1492, allocations: 11.94 kB / 0.6604 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1493, allocations: 0 / 0.6604 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.1493, allocations: 0 / 0.6604 GB, free: 9.473 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.0005363/0.1498, allocations: 371.1 kB / 0.6608 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1498, allocations: 8.031 kB / 0.6608 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.1499, allocations: 30.75 kB / 0.6608 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.1499, allocations: 4.938 kB / 0.6608 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.1501, allocations: 176.3 kB / 0.661 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1501, allocations: 4.375 kB / 0.661 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.1501, allocations: 4.375 kB / 0.661 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1503, allocations: 50.23 kB / 0.6611 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1503, allocations: 3.938 kB / 0.6611 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1503, allocations: 4 kB / 0.6611 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1503, allocations: 4 kB / 0.6611 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.1505, allocations: 39.88 kB / 0.6611 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.1508, allocations: 252.9 kB / 0.6614 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.151, allocations: 70.47 kB / 0.6614 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.1511, allocations: 20.94 kB / 0.6614 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.1511, allocations: 3.984 kB / 0.6614 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/0.1511, allocations: 46.5 kB / 0.6615 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1511, allocations: 0 / 0.6615 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.02894/0.1801, allocations: 1.601 MB / 0.6631 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.1801, allocations: 51.41 kB / 0.6631 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.1803, allocations: 125.8 kB / 0.6632 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.533e-05/0.1803, allocations: 25.7 kB / 0.6632 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.1804, allocations: 92.08 kB / 0.6633 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.983e-05/0.1805, allocations: 27.75 kB / 0.6634 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.1807, allocations: 25.7 kB / 0.6634 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1809, allocations: 322.8 kB / 0.6637 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005122/0.1814, allocations: 139.9 kB / 0.6638 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/0.1819, allocations: 148.3 kB / 0.664 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.183, allocations: 300.8 kB / 0.6643 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.183, allocations: 0 / 0.6643 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00125/0.1842, allocations: 337.5 kB / 0.6646 GB, free: 5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1842, allocations: 8 kB / 0.6646 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1843, allocations: 0 / 0.6646 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1843, allocations: 0 / 0.6646 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.1859, allocations: 59.94 kB / 0.6646 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.186, allocations: 0 / 0.6646 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.1874, allocations: 51.94 kB / 0.6647 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/0.1875, allocations: 0 / 0.6647 GB, free: 4.883 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.00017/0.1877, allocations: 117.8 kB / 0.6648 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/0.1877, allocations: 3.984 kB / 0.6648 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.1879, allocations: 20.38 kB / 0.6648 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1879, allocations: 0 / 0.6648 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1879, allocations: 4 kB / 0.6648 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1879, allocations: 0 / 0.6648 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006136/0.194, allocations: 0.853 MB / 0.6657 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.194, allocations: 0 / 0.6657 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.1953, allocations: 60 kB / 0.6657 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1953, allocations: 0 / 0.6657 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.1953, allocations: 11.92 kB / 0.6657 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1953, allocations: 0 / 0.6657 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1954, allocations: 0 / 0.6657 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000995/0.1964, allocations: 325.1 kB / 0.666 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.1964, allocations: 81.11 kB / 0.6661 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.365e-05/0.1965, allocations: 3.938 kB / 0.6661 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.1976, allocations: 43.89 kB / 0.6662 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.1977, allocations: 7.984 kB / 0.6662 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.1977, allocations: 8.094 kB / 0.6662 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.521e-05/0.1978, allocations: 99.2 kB / 0.6663 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1978, allocations: 0 / 0.6663 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003823/0.1982, allocations: 95.88 kB / 0.6664 GB, free: 3.047 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.001384/0.1996, allocations: 0.8701 MB / 0.6672 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.2006, allocations: 248 kB / 0.6675 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2006, allocations: 0 / 0.6675 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.201, allocations: 95.88 kB / 0.6675 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.2013, allocations: 8 kB / 0.6676 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007043/0.2084, allocations: 2.674 MB / 0.6702 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.2087, allocations: 0.6846 MB / 0.6708 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004327/0.2092, allocations: 48 kB / 0.6709 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005059/0.2097, allocations: 27.36 kB / 0.6709 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of SimCode: time 2.114e-06/0.2097, allocations: 4 kB / 0.6709 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.2413, allocations: 9.796 MB / 0.6805 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.35/8.591, allocations: 11.59 kB / 0.6805 GB, free: 4.5 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)