Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_8_Buildings_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.0009637/0.0009637, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.006345/0.006345, allocations: 169.8 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000536/0.0005361, allocations: 15.03 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2623, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0007693/0.2631, allocations: 375.4 kB / 0.7884 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004347/0.2635, allocations: 203.2 kB / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.2635, allocations: 0 / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.2636, allocations: 0 / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.2637, allocations: 7.938 kB / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.2639, allocations: 67.88 kB / 0.7886 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.075e-05/0.2639, allocations: 27.92 kB / 0.7887 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.264, allocations: 4 kB / 0.7887 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.353e-05/0.264, allocations: 11.92 kB / 0.7887 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.509e-05/0.2641, allocations: 23.91 kB / 0.7887 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.2641, allocations: 0 / 0.7887 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.2643, allocations: 111.7 kB / 0.7888 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.2643, allocations: 11.92 kB / 0.7888 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.2643, allocations: 41.64 kB / 0.7888 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.2645, allocations: 107.7 kB / 0.7889 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2645, allocations: 0 / 0.7889 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.916e-06/0.2645, allocations: 0 / 0.7889 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2645, allocations: 0 / 0.7889 GB, free: 10.47 MB / 0.6075 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.0004235/0.265, allocations: 363.7 kB / 0.7893 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.265, allocations: 11.97 kB / 0.7893 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.107e-05/0.265, allocations: 42.75 kB / 0.7893 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.986e-05/0.2651, allocations: 4.844 kB / 0.7894 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.2652, allocations: 172.4 kB / 0.7895 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.2652, allocations: 4.375 kB / 0.7895 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.2652, allocations: 4.312 kB / 0.7895 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.2654, allocations: 54.23 kB / 0.7896 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.2654, allocations: 11.84 kB / 0.7896 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.2654, allocations: 3.984 kB / 0.7896 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2654, allocations: 4 kB / 0.7896 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.2656, allocations: 43.95 kB / 0.7896 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.2658, allocations: 244.9 kB / 0.7899 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.266, allocations: 86.41 kB / 0.79 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.434e-05/0.2661, allocations: 28.94 kB / 0.79 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.2661, allocations: 4 kB / 0.79 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.2662, allocations: 34.56 kB / 0.79 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2662, allocations: 0 / 0.79 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.02901/0.2952, allocations: 1.761 MB / 0.7917 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.2952, allocations: 51.41 kB / 0.7918 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.2954, allocations: 125.8 kB / 0.7919 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.011e-05/0.2954, allocations: 25.7 kB / 0.7919 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.2955, allocations: 84.14 kB / 0.792 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.027e-05/0.2956, allocations: 31.55 kB / 0.792 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.582e-05/0.2957, allocations: 13.72 kB / 0.7921 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2958, allocations: 322.8 kB / 0.7924 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.2963, allocations: 163.9 kB / 0.7925 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.2968, allocations: 163.9 kB / 0.7927 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.2978, allocations: 332.7 kB / 0.793 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2979, allocations: 0 / 0.793 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001222/0.2991, allocations: 377.5 kB / 0.7934 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2991, allocations: 4.656 kB / 0.7934 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.2991, allocations: 3.984 kB / 0.7934 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2991, allocations: 4 kB / 0.7934 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.3008, allocations: 75.91 kB / 0.7934 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3008, allocations: 0 / 0.7934 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.3022, allocations: 55.88 kB / 0.7935 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.3023, allocations: 15.97 kB / 0.7935 GB, free: 5.562 MB / 0.6075 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.0001851/0.3025, allocations: 128.5 kB / 0.7936 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-05/0.3025, allocations: 7.906 kB / 0.7936 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.3027, allocations: 16.38 kB / 0.7937 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3027, allocations: 4 kB / 0.7937 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3027, allocations: 0 / 0.7937 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.3027, allocations: 0 / 0.7937 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005981/0.3087, allocations: 0.9194 MB / 0.7946 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.3087, allocations: 4 kB / 0.7946 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.3099, allocations: 67.97 kB / 0.7946 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.3099, allocations: 7.984 kB / 0.7946 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/0.31, allocations: 11.98 kB / 0.7946 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.31, allocations: 7.938 kB / 0.7946 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.31, allocations: 0 / 0.7946 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009442/0.3109, allocations: 365.1 kB / 0.795 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.311, allocations: 85.02 kB / 0.7951 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/0.3111, allocations: 3.938 kB / 0.7951 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.3122, allocations: 43.95 kB / 0.7951 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.3122, allocations: 16.41 kB / 0.7951 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.3123, allocations: 7.984 kB / 0.7951 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.938e-05/0.3124, allocations: 99.2 kB / 0.7952 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3124, allocations: 0 / 0.7952 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004148/0.3128, allocations: 92 kB / 0.7953 GB, free: 3.582 MB / 0.6075 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.0013/0.3141, allocations: 0.917 MB / 0.7962 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009679/0.3151, allocations: 279.8 kB / 0.7965 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3151, allocations: 0 / 0.7965 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.3155, allocations: 124 kB / 0.7966 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.3158, allocations: 11.98 kB / 0.7966 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00656/0.3224, allocations: 2.833 MB / 0.7994 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.3226, allocations: 0.6887 MB / 0.8001 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004762/0.3231, allocations: 52 kB / 0.8001 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004739/0.3236, allocations: 43.41 kB / 0.8002 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.3236, allocations: 0 / 0.8002 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.3419, allocations: 9.281 MB / 0.8092 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/0.3422, allocations: 208.2 kB / 0.8094 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.234, allocations: 4.062 kB / 0.8094 GB, free: 5.039 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)