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.001716/0.001716, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 185.6 kB / 16.62 MB, free: 6.582 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.425/1.425, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.723/1.723, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.00148/0.00148, allocations: 71.45 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2502, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002163/0.2524, allocations: 0.6355 MB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004306/0.2528, allocations: 207.1 kB / 0.7844 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.2529, allocations: 0 / 0.7844 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.323e-05/0.2529, allocations: 0 / 0.7844 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.2531, allocations: 3.938 kB / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.2533, allocations: 75.75 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.687e-05/0.2534, allocations: 35.91 kB / 0.7846 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.2535, allocations: 0 / 0.7846 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.455e-05/0.2535, allocations: 15.92 kB / 0.7846 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.766e-05/0.2536, allocations: 23.84 kB / 0.7846 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.2536, allocations: 8 kB / 0.7846 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.2538, allocations: 107.7 kB / 0.7847 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.2538, allocations: 15.92 kB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.2538, allocations: 11.94 kB / 0.7847 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.254, allocations: 103.7 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.254, allocations: 0 / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.994e-06/0.254, allocations: 0 / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.254, allocations: 0 / 0.7848 GB, free: 12 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.0005033/0.2545, allocations: 379.5 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2546, allocations: 12.03 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/0.2546, allocations: 34.75 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.2547, allocations: 8.938 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.2548, allocations: 176.2 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.635e-06/0.2548, allocations: 384 / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.2548, allocations: 384 / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.255, allocations: 54.23 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.255, allocations: 3.938 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.255, allocations: 4 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.255, allocations: 4 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.2552, allocations: 31.95 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.2554, allocations: 248.9 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.2557, allocations: 78.41 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.376e-05/0.2557, allocations: 20.94 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.2557, allocations: 4 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.2558, allocations: 34.55 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 3.246e-06/0.2558, allocations: 3.984 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.02573/0.2815, allocations: 1.605 MB / 0.7875 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.2816, allocations: 55.41 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.2817, allocations: 113.8 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.488e-05/0.2818, allocations: 25.7 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.2818, allocations: 92.12 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/0.2819, allocations: 31.92 kB / 0.7878 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.2821, allocations: 29.64 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.2822, allocations: 326.8 kB / 0.7881 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/0.2827, allocations: 139.9 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004474/0.2831, allocations: 147.9 kB / 0.7884 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009123/0.2841, allocations: 292.8 kB / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2841, allocations: 0 / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001106/0.2852, allocations: 337.4 kB / 0.789 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.2852, allocations: 4 kB / 0.789 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.2852, allocations: 0 / 0.789 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2852, allocations: 8 kB / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.2867, allocations: 59.88 kB / 0.789 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2867, allocations: 4.062 kB / 0.789 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.2879, allocations: 47.94 kB / 0.7891 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.288, allocations: 8 kB / 0.7891 GB, free: 7.395 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.0001688/0.2882, allocations: 113.7 kB / 0.7892 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.092e-05/0.2883, allocations: 4 kB / 0.7892 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.2884, allocations: 28.36 kB / 0.7892 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2884, allocations: 0 / 0.7892 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2884, allocations: 0 / 0.7892 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.2884, allocations: 0 / 0.7892 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00535/0.2938, allocations: 0.8414 MB / 0.7901 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.2938, allocations: 4.062 kB / 0.7901 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.2949, allocations: 55.88 kB / 0.7901 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.2949, allocations: 4 kB / 0.7901 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-05/0.2949, allocations: 4.219 kB / 0.7901 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.295, allocations: 7.984 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.295, allocations: 0 / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000915/0.2959, allocations: 329.1 kB / 0.7904 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.2959, allocations: 77.11 kB / 0.7905 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.828e-05/0.296, allocations: 11.94 kB / 0.7905 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009716/0.297, allocations: 35.95 kB / 0.7906 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.297, allocations: 15.92 kB / 0.7906 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.2971, allocations: 4 kB / 0.7906 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.472e-05/0.2971, allocations: 91.27 kB / 0.7907 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2971, allocations: 0 / 0.7907 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003845/0.2975, allocations: 96 kB / 0.7908 GB, free: 5.574 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.001294/0.2988, allocations: 0.874 MB / 0.7916 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009239/0.2998, allocations: 239.9 kB / 0.7918 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2998, allocations: 0 / 0.7918 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003832/0.3002, allocations: 95.88 kB / 0.7919 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.3005, allocations: 12.12 kB / 0.7919 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006234/0.3067, allocations: 2.687 MB / 0.7946 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.307, allocations: 0.6908 MB / 0.7952 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004288/0.3074, allocations: 48 kB / 0.7953 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/0.3078, allocations: 23.42 kB / 0.7953 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of SimCode: time 1.202e-06/0.3078, allocations: 0 / 0.7953 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.338, allocations: 9.787 MB / 0.8049 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.807, allocations: 7.875 kB / 0.8049 GB, free: 7.012 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)