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.001464/0.001464, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001674/0.001674, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.411/2.411, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.102/1.102, allocations: 132.3 MB / 423.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006183/0.0006185, allocations: 8 kB / 0.5033 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6945/0.6951, allocations: 81.57 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001222/0.6964, allocations: 358 kB / 0.5833 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005961/0.697, allocations: 186.1 kB / 0.5835 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.08e-05/0.6971, allocations: 1.312 kB / 0.5835 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.6971, allocations: 3.938 kB / 0.5835 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.6973, allocations: 3.25 kB / 0.5835 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.6976, allocations: 69.02 kB / 0.5836 GB, free: 3.625 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.663e-05/0.6977, allocations: 13.66 kB / 0.5836 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.848e-05/0.6978, allocations: 3.031 kB / 0.5836 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.6979, allocations: 20.05 kB / 0.5836 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.698, allocations: 19.81 kB / 0.5836 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.698, allocations: 2.188 kB / 0.5836 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.6983, allocations: 115.1 kB / 0.5837 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.6984, allocations: 8.219 kB / 0.5837 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.6984, allocations: 26.45 kB / 0.5838 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.6986, allocations: 75.22 kB / 0.5838 GB, free: 3.516 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.6987, allocations: 1.312 kB / 0.5838 GB, free: 3.516 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.6987, allocations: 0 / 0.5838 GB, free: 3.516 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.6987, allocations: 0 / 0.5838 GB, free: 3.516 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.0005843/0.6993, allocations: 370 kB / 0.5842 GB, free: 3.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.6993, allocations: 8.891 kB / 0.5842 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.6994, allocations: 32.2 kB / 0.5842 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.6994, allocations: 6.094 kB / 0.5842 GB, free: 3.102 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.6996, allocations: 174.2 kB / 0.5844 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.6996, allocations: 1.281 kB / 0.5844 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.6997, allocations: 6.188 kB / 0.5844 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.6999, allocations: 59.52 kB / 0.5845 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.7, allocations: 5.062 kB / 0.5845 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.7, allocations: 0.7031 kB / 0.5845 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.7, allocations: 1.312 kB / 0.5845 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.7003, allocations: 44.12 kB / 0.5845 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.7006, allocations: 256.1 kB / 0.5848 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.7011, allocations: 78.14 kB / 0.5848 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.7011, allocations: 1.859 kB / 0.5848 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.7012, allocations: 35.27 kB / 0.5849 GB, free: 2.488 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.7012, allocations: 0.9375 kB / 0.5849 GB, free: 2.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.04335/0.7445, allocations: 1.753 MB / 0.5866 GB, free: 2.277 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.7446, allocations: 57.47 kB / 0.5866 GB, free: 2.211 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.7448, allocations: 120.6 kB / 0.5867 GB, free: 2.102 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.745, allocations: 29.7 kB / 0.5868 GB, free: 2.066 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.745, allocations: 91.25 kB / 0.5869 GB, free: 1.977 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.7452, allocations: 25.47 kB / 0.5869 GB, free: 1.957 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.348e-05/0.7453, allocations: 1.062 kB / 0.5869 GB, free: 1.957 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.346e-05/0.7454, allocations: 317.8 kB / 0.5872 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008568/0.7462, allocations: 162.7 kB / 0.5873 GB, free: 1.602 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009291/0.7472, allocations: 161 kB / 0.5875 GB, free: 1.562 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009341/0.7481, allocations: 163.3 kB / 0.5877 GB, free: 1.516 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.7481, allocations: 0 / 0.5877 GB, free: 1.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002239/0.7504, allocations: 383.5 kB / 0.588 GB, free: 1.391 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.7504, allocations: 6.234 kB / 0.588 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.7505, allocations: 4 kB / 0.588 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.085e-05/0.7505, allocations: 0.625 kB / 0.588 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002485/0.753, allocations: 81.44 kB / 0.5881 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.753, allocations: 4.625 kB / 0.5881 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002718/0.7558, allocations: 63.42 kB / 0.5882 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.7559, allocations: 9.609 kB / 0.5882 GB, free: 1.367 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003011/0.7562, allocations: 112.7 kB / 0.5883 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.7564, allocations: 7.312 kB / 0.5883 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.7567, allocations: 20.39 kB / 0.5883 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.7567, allocations: 0 / 0.5883 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.7568, allocations: 5.266 kB / 0.5883 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.7568, allocations: 0.7031 kB / 0.5883 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009935/0.7667, allocations: 0.9167 MB / 0.5892 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.7668, allocations: 5.359 kB / 0.5892 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/0.7686, allocations: 72.14 kB / 0.5893 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.555e-05/0.7686, allocations: 1.531 kB / 0.5893 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.532e-05/0.7687, allocations: 9.047 kB / 0.5893 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/0.7688, allocations: 2.172 kB / 0.5893 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.7688, allocations: 0 / 0.5893 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.7707, allocations: 396.6 kB / 0.5897 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.008e-05/0.7708, allocations: 88.95 kB / 0.5898 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.7709, allocations: 1.828 kB / 0.5898 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/0.7727, allocations: 49.23 kB / 0.5898 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.7728, allocations: 9.25 kB / 0.5898 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.292e-05/0.7729, allocations: 8.875 kB / 0.5898 GB, free: 492 kB / 430.1 MB Notification: Performance of sorting global known variables: time 9.473e-05/0.773, allocations: 100.8 kB / 0.5899 GB, free: 404 kB / 430.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.773, allocations: 0 / 0.5899 GB, free: 404 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008831/0.7739, allocations: 91.61 kB / 0.59 GB, free: 400 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002841/0.7768, allocations: 1.081 MB / 0.5911 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002263/0.779, allocations: 278.3 kB / 0.5913 GB, free: 15.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.7791, allocations: 1.281 kB / 0.5913 GB, free: 15.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009268/0.78, allocations: 120.5 kB / 0.5915 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.7804, allocations: 14.94 kB / 0.5915 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.7911, allocations: 1.609 MB / 0.593 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.7916, allocations: 0.6914 MB / 0.5937 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001195/0.7928, allocations: 58.25 kB / 0.5938 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008115/0.7936, allocations: 36.97 kB / 0.5938 GB, free: 13.84 MB / 446.1 MB Notification: Performance of SimCode: time 1.483e-06/0.7936, allocations: 0 / 0.5938 GB, free: 13.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04368/0.8373, allocations: 9.001 MB / 0.6026 GB, free: 9.32 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006179/0.838, allocations: 174.5 kB / 0.6028 GB, free: 9.086 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.984/3.823, allocations: 1.031 kB / 0.6028 GB, free: 9.086 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/linux/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) Environment - environmentSimulation: