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.008239/0.00824, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001932/0.001933, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7919/0.7919, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 64.44 kB / 0.5852 GB, free: 21.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1474, allocations: 80.92 MB / 0.6642 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001847/0.1492, allocations: 0.6302 MB / 0.6648 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004445/0.1497, allocations: 206.1 kB / 0.665 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.1498, allocations: 0 / 0.665 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.1498, allocations: 0 / 0.665 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.15, allocations: 11.92 kB / 0.665 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.1502, allocations: 67.77 kB / 0.6651 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.344e-05/0.1503, allocations: 43.83 kB / 0.6651 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.916e-05/0.1503, allocations: 4 kB / 0.6651 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.631e-05/0.1504, allocations: 11.92 kB / 0.6651 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.1505, allocations: 23.92 kB / 0.6652 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.1505, allocations: 4 kB / 0.6652 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.1507, allocations: 107.7 kB / 0.6653 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.1507, allocations: 11.97 kB / 0.6653 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.1507, allocations: 15.88 kB / 0.6653 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1509, allocations: 103.8 kB / 0.6654 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1509, allocations: 0 / 0.6654 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1509, allocations: 0 / 0.6654 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.1509, allocations: 0 / 0.6654 GB, free: 5.02 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.0005171/0.1514, allocations: 366.3 kB / 0.6657 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1515, allocations: 9.109 kB / 0.6658 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.905e-05/0.1515, allocations: 34.75 kB / 0.6658 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.1516, allocations: 8.844 kB / 0.6658 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.1517, allocations: 169.2 kB / 0.666 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1517, allocations: 384 / 0.666 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.1518, allocations: 4.375 kB / 0.666 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1519, allocations: 58.17 kB / 0.666 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1519, allocations: 3.938 kB / 0.666 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.152, allocations: 7.938 kB / 0.666 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.152, allocations: 4 kB / 0.666 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.1521, allocations: 35.95 kB / 0.6661 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.1524, allocations: 248.8 kB / 0.6663 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1526, allocations: 74.47 kB / 0.6664 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.632e-05/0.1527, allocations: 28.94 kB / 0.6664 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1527, allocations: 4 kB / 0.6664 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.1527, allocations: 30.56 kB / 0.6664 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 2.595e-06/0.1527, allocations: 0 / 0.6664 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.02549/0.1782, allocations: 1.609 MB / 0.668 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.1783, allocations: 51.41 kB / 0.6681 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.1784, allocations: 117.8 kB / 0.6682 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/0.1785, allocations: 29.7 kB / 0.6682 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.1786, allocations: 88.03 kB / 0.6683 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.322e-05/0.1786, allocations: 23.66 kB / 0.6683 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.1789, allocations: 33.61 kB / 0.6683 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.179, allocations: 322.8 kB / 0.6686 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000466/0.1795, allocations: 139.9 kB / 0.6688 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.1799, allocations: 147.9 kB / 0.6689 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009483/0.1809, allocations: 297.3 kB / 0.6692 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1809, allocations: 0 / 0.6692 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001142/0.1821, allocations: 333.5 kB / 0.6695 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.1821, allocations: 8 kB / 0.6695 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1821, allocations: 0 / 0.6695 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1821, allocations: 4 kB / 0.6695 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.1835, allocations: 63.94 kB / 0.6696 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1835, allocations: 0 / 0.6696 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.1846, allocations: 51.94 kB / 0.6696 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.1847, allocations: 0 / 0.6696 GB, free: 448 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.0001589/0.1849, allocations: 117.7 kB / 0.6698 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/0.185, allocations: 11.91 kB / 0.6698 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.1851, allocations: 16.78 kB / 0.6698 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1851, allocations: 4 kB / 0.6698 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.1851, allocations: 4 kB / 0.6698 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1851, allocations: 3.984 kB / 0.6698 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005107/0.1902, allocations: 0.8489 MB / 0.6706 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.1903, allocations: 4 kB / 0.6706 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.1913, allocations: 51.94 kB / 0.6707 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.1913, allocations: 0 / 0.6707 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.1914, allocations: 7.938 kB / 0.6707 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.1914, allocations: 3.984 kB / 0.6707 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1914, allocations: 3.938 kB / 0.6707 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000872/0.1923, allocations: 321.2 kB / 0.671 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.1923, allocations: 85.02 kB / 0.6711 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/0.1924, allocations: 7.938 kB / 0.6711 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009028/0.1933, allocations: 43.95 kB / 0.6711 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.1933, allocations: 7.984 kB / 0.6711 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.1934, allocations: 0 / 0.6711 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.731e-05/0.1935, allocations: 95.27 kB / 0.6712 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1935, allocations: 3.938 kB / 0.6712 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004107/0.1939, allocations: 92.38 kB / 0.6713 GB, free: 14.61 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.001333/0.1952, allocations: 0.8793 MB / 0.6722 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000937/0.1962, allocations: 247.8 kB / 0.6724 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.1962, allocations: 4 kB / 0.6724 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.1966, allocations: 91.88 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.0002883/0.1969, allocations: 17.78 kB / 0.6725 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006103/0.203, allocations: 2.667 MB / 0.6751 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.2033, allocations: 0.6961 MB / 0.6758 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003802/0.2036, allocations: 52.12 kB / 0.6759 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/0.2041, allocations: 23.42 kB / 0.6759 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.2041, allocations: 0 / 0.6759 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.2311, allocations: 9.786 MB / 0.6854 GB, free: 48 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/7.975, allocations: 9.766 kB / 0.6854 GB, free: 44 kB / 0.5137 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)