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.374/1.374, allocations: 252 MB / 267.3 MB, free: 10.83 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.0009433/0.0009435, allocations: 183.3 kB / 327 MB, free: 2.055 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.544/1.544, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.0008849/0.0008848, allocations: 88.41 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 14.12 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2048, allocations: 106.3 MB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.000654/0.2055, allocations: 377.8 kB / 0.9013 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003765/0.2059, allocations: 200.5 kB / 0.9015 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.2059, allocations: 0 / 0.9015 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.2059, allocations: 3.938 kB / 0.9015 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.2061, allocations: 15.92 kB / 0.9015 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.2062, allocations: 63.83 kB / 0.9016 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.412e-05/0.2063, allocations: 23.92 kB / 0.9016 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.2064, allocations: 7.984 kB / 0.9016 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.2064, allocations: 15.92 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.574e-05/0.2065, allocations: 19.92 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.2065, allocations: 0 / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.2066, allocations: 111.7 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.2067, allocations: 7.969 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.2067, allocations: 41.58 kB / 0.9018 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.2069, allocations: 107.8 kB / 0.9019 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2069, allocations: 4 kB / 0.9019 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2069, allocations: 0 / 0.9019 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.2069, allocations: 0 / 0.9019 GB, free: 62.22 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.0005159/0.2074, allocations: 363.7 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.2075, allocations: 8.031 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.013e-05/0.2075, allocations: 42.75 kB / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.2075, allocations: 0.9375 kB / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.2077, allocations: 172.3 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2077, allocations: 4.375 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.2077, allocations: 384 / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.2079, allocations: 66.22 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.2079, allocations: 7.938 kB / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.208, allocations: 0 / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.208, allocations: 4 kB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.2081, allocations: 47.89 kB / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.2084, allocations: 241 kB / 0.9028 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.2086, allocations: 90.41 kB / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.465e-05/0.2087, allocations: 28.94 kB / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.2087, allocations: 4 kB / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.2087, allocations: 42.48 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2087, allocations: 0 / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.02635/0.2351, allocations: 1.753 MB / 0.9047 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.2351, allocations: 51.41 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.2353, allocations: 125.8 kB / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.323e-05/0.2353, allocations: 29.7 kB / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.2354, allocations: 92.02 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.2355, allocations: 23.66 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-05/0.2355, allocations: 4 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.2356, allocations: 322.8 kB / 0.9053 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/0.2361, allocations: 155.9 kB / 0.9054 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/0.2366, allocations: 159.9 kB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009417/0.2375, allocations: 340.7 kB / 0.9059 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2375, allocations: 0 / 0.9059 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001138/0.2387, allocations: 385.4 kB / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.2387, allocations: 4 kB / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.2387, allocations: 0 / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.2388, allocations: 0 / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.2403, allocations: 83.89 kB / 0.9064 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2403, allocations: 0 / 0.9064 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.2416, allocations: 56.59 kB / 0.9064 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.744e-05/0.2417, allocations: 8.062 kB / 0.9064 GB, free: 57.34 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.2418, allocations: 121.8 kB / 0.9065 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.942e-05/0.2419, allocations: 4 kB / 0.9065 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.2421, allocations: 24.36 kB / 0.9066 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2421, allocations: 0 / 0.9066 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2421, allocations: 0 / 0.9066 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2421, allocations: 3.938 kB / 0.9066 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005346/0.2475, allocations: 0.9154 MB / 0.9075 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.2475, allocations: 0 / 0.9075 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.2486, allocations: 75.91 kB / 0.9075 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2486, allocations: 0 / 0.9075 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.2487, allocations: 15.91 kB / 0.9075 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2487, allocations: 0 / 0.9075 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.2487, allocations: 0 / 0.9075 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008976/0.2496, allocations: 381.3 kB / 0.9079 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.2496, allocations: 81.11 kB / 0.908 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/0.2497, allocations: 4 kB / 0.908 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009896/0.2507, allocations: 51.95 kB / 0.908 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.2507, allocations: 7.984 kB / 0.908 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/0.2508, allocations: 15.97 kB / 0.9081 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.391e-05/0.2508, allocations: 91.27 kB / 0.9082 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2509, allocations: 0 / 0.9082 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003611/0.2512, allocations: 96 kB / 0.9082 GB, free: 55.35 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 (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.001182/0.2524, allocations: 0.9208 MB / 0.9091 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009297/0.2534, allocations: 279.8 kB / 0.9094 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2534, allocations: 4 kB / 0.9094 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.2538, allocations: 116 kB / 0.9095 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.2541, allocations: 11.98 kB / 0.9095 GB, free: 54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005885/0.26, allocations: 2.819 MB / 0.9123 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.2601, allocations: 0.6848 MB / 0.913 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005244/0.2606, allocations: 55.98 kB / 0.913 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005237/0.2612, allocations: 35.38 kB / 0.913 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/0.2612, allocations: 3.938 kB / 0.913 GB, free: 50.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.2807, allocations: 9.29 MB / 0.9221 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.2809, allocations: 228.7 kB / 0.9223 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.223, allocations: 1.406 kB / 0.9223 GB, free: 40.85 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)