Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.66/1.66, allocations: 287.4 MB / 302.5 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000914/0.0009139, allocations: 185.1 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00078/0.0007804, allocations: 98.52 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003911, allocations: 13.16 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2034, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0007173/0.2042, allocations: 363.5 kB / 0.9791 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003359/0.2045, allocations: 183.5 kB / 0.9793 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.2046, allocations: 0 / 0.9793 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.267e-05/0.2046, allocations: 3.938 kB / 0.9793 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.2048, allocations: 3.984 kB / 0.9793 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.2049, allocations: 63.83 kB / 0.9793 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.624e-05/0.205, allocations: 27.86 kB / 0.9794 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.205, allocations: 3.984 kB / 0.9794 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.2051, allocations: 11.98 kB / 0.9794 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.788e-05/0.2051, allocations: 23.91 kB / 0.9794 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.2052, allocations: 11.94 kB / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.2053, allocations: 95.8 kB / 0.9795 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.2053, allocations: 11.92 kB / 0.9795 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.2053, allocations: 33.69 kB / 0.9795 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.2054, allocations: 59.95 kB / 0.9796 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2055, allocations: 0 / 0.9796 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2055, allocations: 0 / 0.9796 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2055, allocations: 4 kB / 0.9796 GB, free: 27.18 MB / 0.6198 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.0004804/0.206, allocations: 369.6 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.206, allocations: 8.031 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.206, allocations: 30.75 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.2061, allocations: 8.844 kB / 0.98 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.2062, allocations: 176.3 kB / 0.9802 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.2062, allocations: 384 / 0.9802 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.2062, allocations: 8.375 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.2064, allocations: 62.22 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.2064, allocations: 11.78 kB / 0.9803 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.2064, allocations: 0 / 0.9803 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.2064, allocations: 4 kB / 0.9803 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.2066, allocations: 39.97 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002295/0.2068, allocations: 248.9 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.207, allocations: 90.39 kB / 0.9806 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.378e-05/0.2071, allocations: 28.94 kB / 0.9806 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.2071, allocations: 0 / 0.9806 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.2071, allocations: 34.56 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.2071, allocations: 0 / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.02547/0.2326, allocations: 1.753 MB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.2327, allocations: 55.41 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.2328, allocations: 122 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.2329, allocations: 25.7 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.2329, allocations: 88.14 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.517e-05/0.233, allocations: 27.64 kB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.2331, allocations: 7.938 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.338e-05/0.2331, allocations: 322.8 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/0.2336, allocations: 159.9 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00047/0.2341, allocations: 159.9 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000903/0.235, allocations: 328.8 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.235, allocations: 4 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001089/0.2361, allocations: 381.4 kB / 0.984 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2361, allocations: 8 kB / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.2361, allocations: 0 / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.2362, allocations: 0 / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.2376, allocations: 79.89 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2376, allocations: 3.938 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.2389, allocations: 51.95 kB / 0.9841 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.239, allocations: 11.97 kB / 0.9841 GB, free: 22.3 MB / 0.6198 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.0001368/0.2391, allocations: 119.1 kB / 0.9843 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.341e-05/0.2392, allocations: 7.906 kB / 0.9843 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.2393, allocations: 20.8 kB / 0.9843 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2394, allocations: 3.984 kB / 0.9843 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2394, allocations: 0 / 0.9843 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.2394, allocations: 3.938 kB / 0.9843 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005301/0.2447, allocations: 0.9235 MB / 0.9852 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2447, allocations: 288 / 0.9852 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.2458, allocations: 71.84 kB / 0.9853 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.2458, allocations: 0 / 0.9853 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/0.2459, allocations: 15.86 kB / 0.9853 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2459, allocations: 0 / 0.9853 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2459, allocations: 0 / 0.9853 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008511/0.2467, allocations: 373.2 kB / 0.9856 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.2468, allocations: 81.02 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.131e-05/0.2468, allocations: 11.92 kB / 0.9857 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.2479, allocations: 51.89 kB / 0.9858 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.2479, allocations: 4 kB / 0.9858 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.248, allocations: 11.97 kB / 0.9858 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.248, allocations: 91.28 kB / 0.9859 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.248, allocations: 0 / 0.9859 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003547/0.2484, allocations: 95.98 kB / 0.986 GB, free: 20.33 MB / 0.6198 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.001105/0.2495, allocations: 0.9169 MB / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009803/0.2505, allocations: 279.8 kB / 0.9871 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2505, allocations: 4 kB / 0.9871 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.2509, allocations: 119.8 kB / 0.9872 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.2512, allocations: 6.656 kB / 0.9873 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004549/0.2557, allocations: 1.615 MB / 0.9888 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.2559, allocations: 0.6848 MB / 0.9895 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005262/0.2564, allocations: 59.98 kB / 0.9896 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004478/0.2569, allocations: 35.38 kB / 0.9896 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.2569, allocations: 0 / 0.9896 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.2753, allocations: 9.022 MB / 0.9984 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001303/0.2755, allocations: 193.5 kB / 0.9986 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.174, allocations: 1.406 kB / 0.9986 GB, free: 7.344 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)