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.006667/0.006667, allocations: 100 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.001225/0.001225, allocations: 185.4 kB / 16.67 MB, free: 5.977 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7618/0.7618, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 63.91 kB / 0.5809 GB, free: 7.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4858, allocations: 80.2 MB / 0.6592 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001557/0.4874, allocations: 0.6284 MB / 0.6598 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004145/0.4879, allocations: 198.1 kB / 0.66 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.4879, allocations: 0 / 0.66 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.4879, allocations: 0 / 0.66 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.4881, allocations: 18.55 kB / 0.66 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.4883, allocations: 77.03 kB / 0.6601 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.904e-05/0.4884, allocations: 26.92 kB / 0.6601 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.4885, allocations: 3.234 kB / 0.6602 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.541e-05/0.4885, allocations: 16.75 kB / 0.6602 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.512e-05/0.4886, allocations: 24.64 kB / 0.6602 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.4886, allocations: 1.188 kB / 0.6602 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.4888, allocations: 109.6 kB / 0.6603 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.4888, allocations: 3.531 kB / 0.6603 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.4889, allocations: 25.3 kB / 0.6603 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.4891, allocations: 108.9 kB / 0.6604 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4891, allocations: 0.5156 kB / 0.6604 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4891, allocations: 0 / 0.6604 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.4891, allocations: 1.594 kB / 0.6604 GB, free: 9.152 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.0004993/0.4896, allocations: 364.4 kB / 0.6608 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.4897, allocations: 10.12 kB / 0.6608 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.891e-05/0.4897, allocations: 32.78 kB / 0.6608 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.4897, allocations: 10.83 kB / 0.6608 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.4898, allocations: 170.9 kB / 0.661 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.4899, allocations: 6.859 kB / 0.661 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.4899, allocations: 9.5 kB / 0.661 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.49, allocations: 53.17 kB / 0.6611 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.49, allocations: 3.938 kB / 0.6611 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4901, allocations: 5.156 kB / 0.6611 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4901, allocations: 0.5625 kB / 0.6611 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.4902, allocations: 38.06 kB / 0.6611 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.4904, allocations: 244.1 kB / 0.6613 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.4906, allocations: 74.56 kB / 0.6614 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.477e-05/0.4907, allocations: 26.66 kB / 0.6614 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.4907, allocations: 4 kB / 0.6614 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.4908, allocations: 32.36 kB / 0.6615 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4908, allocations: 1.531 kB / 0.6615 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.02786/0.5186, allocations: 1.61 MB / 0.663 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.5187, allocations: 56.69 kB / 0.6631 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/0.5188, allocations: 120.2 kB / 0.6632 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/0.5189, allocations: 25.7 kB / 0.6632 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.5189, allocations: 86.45 kB / 0.6633 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.404e-05/0.519, allocations: 35.25 kB / 0.6633 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.5192, allocations: 20.25 kB / 0.6634 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.971e-05/0.5192, allocations: 325.1 kB / 0.6637 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/0.5197, allocations: 151.1 kB / 0.6638 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.5201, allocations: 139 kB / 0.664 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009035/0.521, allocations: 295.3 kB / 0.6642 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5211, allocations: 4 kB / 0.6642 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001088/0.5221, allocations: 332.5 kB / 0.6646 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5222, allocations: 5.75 kB / 0.6646 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5222, allocations: 0 / 0.6646 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.5222, allocations: 1.375 kB / 0.6646 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.5238, allocations: 65.98 kB / 0.6646 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5238, allocations: 1.219 kB / 0.6646 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.5251, allocations: 42.72 kB / 0.6647 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.5251, allocations: 7.984 kB / 0.6647 GB, free: 6.504 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.0001734/0.5253, allocations: 119 kB / 0.6648 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-05/0.5254, allocations: 6.469 kB / 0.6648 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.5255, allocations: 18.81 kB / 0.6648 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.5255, allocations: 5.047 kB / 0.6648 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.5256, allocations: 1.031 kB / 0.6648 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5256, allocations: 4 kB / 0.6648 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005473/0.531, allocations: 0.8454 MB / 0.6656 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.5311, allocations: 0 / 0.6656 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.5322, allocations: 55.97 kB / 0.6657 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.426e-05/0.5322, allocations: 6.406 kB / 0.6657 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/0.5323, allocations: 8.969 kB / 0.6657 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.5323, allocations: 1.281 kB / 0.6657 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5323, allocations: 1.031 kB / 0.6657 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.5333, allocations: 324.5 kB / 0.666 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.5334, allocations: 82.73 kB / 0.6661 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.981e-05/0.5335, allocations: 9.844 kB / 0.6661 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000931/0.5344, allocations: 43.06 kB / 0.6662 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.5344, allocations: 10.41 kB / 0.6662 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.5345, allocations: 6.969 kB / 0.6662 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.444e-05/0.5346, allocations: 98.11 kB / 0.6663 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5346, allocations: 0 / 0.6663 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004799/0.535, allocations: 89.84 kB / 0.6664 GB, free: 5.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.00129/0.5363, allocations: 0.8675 MB / 0.6672 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009894/0.5373, allocations: 251.4 kB / 0.6674 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.5374, allocations: 0 / 0.6674 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004088/0.5378, allocations: 93.3 kB / 0.6675 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.5381, allocations: 9.625 kB / 0.6675 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005998/0.5441, allocations: 2.686 MB / 0.6702 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.5443, allocations: 0.6837 MB / 0.6708 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003789/0.5447, allocations: 51.94 kB / 0.6709 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000437/0.5451, allocations: 20.2 kB / 0.6709 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of SimCode: time 1.212e-06/0.5451, allocations: 1.125 kB / 0.6709 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.5783, allocations: 10.22 MB / 0.6809 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.513, allocations: 3.5 kB / 0.6809 GB, free: 12.07 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)