Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.399/1.399, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009644/0.0009641, allocations: 176.5 kB / 326.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.4 MB / 0.5777 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008993/0.0008992, allocations: 99.12 kB / 0.6823 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004165, allocations: 15.75 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2208, allocations: 106.3 MB / 0.9003 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0006501/0.2215, allocations: 370.1 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003085/0.2218, allocations: 180.6 kB / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.2219, allocations: 0 / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.2219, allocations: 3.938 kB / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.222, allocations: 11.94 kB / 0.9009 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.2222, allocations: 67.81 kB / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.677e-05/0.2223, allocations: 23.92 kB / 0.9009 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.2223, allocations: 0 / 0.9009 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.797e-05/0.2223, allocations: 19.92 kB / 0.901 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.2224, allocations: 19.91 kB / 0.901 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.2224, allocations: 8 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.2226, allocations: 103.7 kB / 0.9011 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.2226, allocations: 4 kB / 0.9011 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.465e-05/0.2226, allocations: 25.7 kB / 0.9011 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.2227, allocations: 67.92 kB / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2227, allocations: 0 / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2227, allocations: 4 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2227, allocations: 0 / 0.9012 GB, free: 63.25 MB / 0.6042 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.000404/0.2232, allocations: 367.5 kB / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2232, allocations: 11.97 kB / 0.9015 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.431e-05/0.2232, allocations: 38.55 kB / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.08e-05/0.2233, allocations: 0 / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.461e-05/0.2234, allocations: 170.9 kB / 0.9017 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2234, allocations: 8 kB / 0.9018 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.2234, allocations: 0 / 0.9018 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.2235, allocations: 65.59 kB / 0.9018 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2235, allocations: 0 / 0.9018 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.2236, allocations: 4 kB / 0.9018 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2236, allocations: 0 / 0.9018 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.2237, allocations: 43.91 kB / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.2239, allocations: 252.9 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.2241, allocations: 78.62 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.773e-05/0.2242, allocations: 36.83 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.2242, allocations: 0 / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.2243, allocations: 30.56 kB / 0.9022 GB, free: 62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.2243, allocations: 0 / 0.9022 GB, free: 62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.02822/0.2525, allocations: 1.769 MB / 0.904 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.2525, allocations: 59.34 kB / 0.904 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.712e-05/0.2526, allocations: 117.8 kB / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.26e-05/0.2527, allocations: 25.7 kB / 0.9042 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.2527, allocations: 88.14 kB / 0.9042 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/0.2528, allocations: 27.56 kB / 0.9043 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.2529, allocations: 0 / 0.9043 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.188e-05/0.2529, allocations: 318.8 kB / 0.9046 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.2534, allocations: 163.9 kB / 0.9047 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/0.2538, allocations: 155.9 kB / 0.9049 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.2543, allocations: 164.5 kB / 0.905 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2544, allocations: 0 / 0.905 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001103/0.2555, allocations: 389.4 kB / 0.9054 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2555, allocations: 4 kB / 0.9054 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2555, allocations: 3.984 kB / 0.9054 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2555, allocations: 0 / 0.9054 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.2571, allocations: 83.84 kB / 0.9055 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.2571, allocations: 7.938 kB / 0.9055 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.2585, allocations: 51.94 kB / 0.9056 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/0.2586, allocations: 7.984 kB / 0.9056 GB, free: 58.54 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.2588, allocations: 109.8 kB / 0.9057 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/0.2589, allocations: 7.906 kB / 0.9057 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.259, allocations: 24.36 kB / 0.9057 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.259, allocations: 0 / 0.9057 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.259, allocations: 7.953 kB / 0.9057 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.259, allocations: 0 / 0.9057 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0058/0.2648, allocations: 0.9117 MB / 0.9066 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2649, allocations: 7.953 kB / 0.9066 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.266, allocations: 71.84 kB / 0.9067 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.2661, allocations: 4.062 kB / 0.9067 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.436e-05/0.2661, allocations: 7.984 kB / 0.9067 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2661, allocations: 3.984 kB / 0.9067 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2661, allocations: 0 / 0.9067 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008871/0.267, allocations: 365.1 kB / 0.907 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.2671, allocations: 96.89 kB / 0.9071 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.705e-05/0.2671, allocations: 4 kB / 0.9071 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.2683, allocations: 47.89 kB / 0.9072 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.2683, allocations: 4 kB / 0.9072 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-05/0.2683, allocations: 11.97 kB / 0.9072 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.053e-05/0.2684, allocations: 95.27 kB / 0.9073 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2684, allocations: 4 kB / 0.9073 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003724/0.2688, allocations: 92 kB / 0.9074 GB, free: 56.57 MB / 0.6042 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 (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.001148/0.2699, allocations: 0.9214 MB / 0.9083 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000935/0.2709, allocations: 283.8 kB / 0.9085 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2709, allocations: 0 / 0.9085 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003938/0.2713, allocations: 124 kB / 0.9087 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.2716, allocations: 8.031 kB / 0.9087 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004796/0.2764, allocations: 1.604 MB / 0.9102 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.2765, allocations: 0.6926 MB / 0.9109 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000537/0.2771, allocations: 52 kB / 0.911 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/0.2776, allocations: 39.36 kB / 0.911 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.2776, allocations: 0 / 0.911 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.2953, allocations: 9.029 MB / 0.9198 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001283/0.2955, allocations: 206.2 kB / 0.92 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.147, allocations: 3.938 kB / 0.92 GB, free: 43.59 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)