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.00112/0.001126, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008438/0.008438, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.356/1.356, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.726/0.726, allocations: 132.3 MB / 423.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002864, allocations: 14.28 kB / 0.5041 GB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3824, allocations: 81.57 MB / 0.5838 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0007737/0.3832, allocations: 368.7 kB / 0.5841 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004106/0.3836, allocations: 198.1 kB / 0.5843 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.3837, allocations: 0 / 0.5843 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.3837, allocations: 3.938 kB / 0.5843 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.3839, allocations: 12.58 kB / 0.5843 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.384, allocations: 63.42 kB / 0.5844 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.279e-05/0.3841, allocations: 26.61 kB / 0.5844 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.3842, allocations: 1.922 kB / 0.5844 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.823e-05/0.3842, allocations: 20.84 kB / 0.5844 GB, free: 3.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.585e-05/0.3843, allocations: 19.59 kB / 0.5844 GB, free: 3.473 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.3843, allocations: 6.656 kB / 0.5844 GB, free: 3.469 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.3845, allocations: 108.9 kB / 0.5845 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.3846, allocations: 12.39 kB / 0.5846 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.277e-05/0.3846, allocations: 38.72 kB / 0.5846 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.3848, allocations: 100.6 kB / 0.5847 GB, free: 3.359 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3848, allocations: 0.75 kB / 0.5847 GB, free: 3.359 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3848, allocations: 0.7812 kB / 0.5847 GB, free: 3.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.3848, allocations: 3.938 kB / 0.5847 GB, free: 3.355 MB / 430.1 MB 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.0004667/0.3853, allocations: 365.3 kB / 0.585 GB, free: 2.984 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3854, allocations: 10.12 kB / 0.5851 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.883e-05/0.3854, allocations: 36.5 kB / 0.5851 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.3854, allocations: 6.469 kB / 0.5851 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.3856, allocations: 175.6 kB / 0.5853 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3856, allocations: 1.062 kB / 0.5853 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.3856, allocations: 2.906 kB / 0.5853 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3858, allocations: 64.84 kB / 0.5853 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3858, allocations: 8.656 kB / 0.5853 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.3858, allocations: 0 / 0.5853 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3858, allocations: 1.531 kB / 0.5853 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.386, allocations: 40.62 kB / 0.5854 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.3863, allocations: 248.6 kB / 0.5856 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.3865, allocations: 82.39 kB / 0.5857 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.288e-05/0.3866, allocations: 33.03 kB / 0.5857 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.3866, allocations: 4.953 kB / 0.5857 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.3867, allocations: 40.44 kB / 0.5858 GB, free: 2.305 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.3867, allocations: 0 / 0.5858 GB, free: 2.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.03004/0.4167, allocations: 1.755 MB / 0.5875 GB, free: 2.094 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.4168, allocations: 54.92 kB / 0.5875 GB, free: 2.031 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.4169, allocations: 119.4 kB / 0.5876 GB, free: 1.922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.324e-05/0.417, allocations: 26.98 kB / 0.5877 GB, free: 1.891 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.417, allocations: 86.44 kB / 0.5878 GB, free: 1.805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.903e-05/0.4171, allocations: 25.16 kB / 0.5878 GB, free: 1.785 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.035e-05/0.4172, allocations: 16.64 kB / 0.5878 GB, free: 1.766 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.927e-05/0.4173, allocations: 326.6 kB / 0.5881 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/0.4178, allocations: 153.3 kB / 0.5883 GB, free: 1.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.4184, allocations: 162.9 kB / 0.5884 GB, free: 1.371 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.4195, allocations: 336.2 kB / 0.5887 GB, free: 1.266 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4196, allocations: 0 / 0.5887 GB, free: 1.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001331/0.4209, allocations: 385.6 kB / 0.5891 GB, free: 1.141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.4209, allocations: 9.156 kB / 0.5891 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4209, allocations: 0 / 0.5891 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.421, allocations: 4.938 kB / 0.5891 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.4227, allocations: 82.09 kB / 0.5892 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.4228, allocations: 0 / 0.5892 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.4243, allocations: 55.48 kB / 0.5892 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.982e-05/0.4243, allocations: 9.25 kB / 0.5893 GB, free: 1.125 MB / 430.1 MB 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.0001888/0.4245, allocations: 120.4 kB / 0.5894 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.315e-05/0.4246, allocations: 6.688 kB / 0.5894 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.4248, allocations: 20.23 kB / 0.5894 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4248, allocations: 1.188 kB / 0.5894 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4248, allocations: 5.062 kB / 0.5894 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4248, allocations: 1.172 kB / 0.5894 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00665/0.4315, allocations: 0.9205 MB / 0.5903 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4315, allocations: 0.875 kB / 0.5903 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.4328, allocations: 69.22 kB / 0.5904 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.4328, allocations: 0.9062 kB / 0.5904 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/0.4329, allocations: 16.64 kB / 0.5904 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.4329, allocations: 1.75 kB / 0.5904 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4329, allocations: 1 kB / 0.5904 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.434, allocations: 369.9 kB / 0.5907 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.434, allocations: 84.77 kB / 0.5908 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.599e-05/0.4341, allocations: 9.766 kB / 0.5908 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.4353, allocations: 49.44 kB / 0.5909 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.4354, allocations: 5.656 kB / 0.5909 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.823e-05/0.4354, allocations: 9.297 kB / 0.5909 GB, free: 272 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.153e-05/0.4355, allocations: 94.41 kB / 0.591 GB, free: 188 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4355, allocations: 1.406 kB / 0.591 GB, free: 188 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004829/0.436, allocations: 92.19 kB / 0.5911 GB, free: 184 kB / 430.1 MB 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.001496/0.4375, allocations: 0.9242 MB / 0.592 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.4387, allocations: 291.5 kB / 0.5922 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4387, allocations: 0 / 0.5922 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004828/0.4392, allocations: 117.9 kB / 0.5924 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.4395, allocations: 5.859 kB / 0.5924 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007723/0.4473, allocations: 2.822 MB / 0.5951 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.4476, allocations: 0.6891 MB / 0.5958 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005433/0.4481, allocations: 62.47 kB / 0.5959 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005097/0.4486, allocations: 40 kB / 0.5959 GB, free: 12.82 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4486, allocations: 0 / 0.5959 GB, free: 12.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/0.5757, allocations: 9.267 MB / 0.6049 GB, free: 8.082 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/0.5759, allocations: 197.1 kB / 0.6051 GB, free: 7.832 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/2.591, allocations: 3.125 kB / 0.6051 GB, free: 7.832 MB / 446.1 MB (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)