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 2.854/2.854, allocations: 287.5 MB / 302.4 MB, free: 8.328 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.001795/0.001795, allocations: 186.6 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.261/2.261, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009207/0.0009207, allocations: 90.05 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005082/0.0005086, allocations: 13.59 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2274, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0008814/0.2283, allocations: 363.5 kB / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004815/0.2288, allocations: 187.4 kB / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.2289, allocations: 3.938 kB / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.2289, allocations: 0 / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.2291, allocations: 7.984 kB / 0.979 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.2294, allocations: 59.84 kB / 0.9791 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.374e-05/0.2295, allocations: 27.91 kB / 0.9791 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.237e-05/0.2295, allocations: 3.984 kB / 0.9791 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.644e-05/0.2296, allocations: 15.94 kB / 0.9791 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.585e-05/0.2297, allocations: 19.91 kB / 0.9791 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.2297, allocations: 4 kB / 0.9791 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.2299, allocations: 99.73 kB / 0.9792 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.23, allocations: 11.97 kB / 0.9792 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.23, allocations: 25.7 kB / 0.9793 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.2302, allocations: 67.94 kB / 0.9793 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.2302, allocations: 8 kB / 0.9793 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.926e-06/0.2302, allocations: 0 / 0.9793 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.2302, allocations: 3.938 kB / 0.9793 GB, free: 27.34 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.0005973/0.2308, allocations: 363.5 kB / 0.9797 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.2309, allocations: 12.02 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.2309, allocations: 34.56 kB / 0.9797 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.231, allocations: 7.906 kB / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.2311, allocations: 171 kB / 0.9799 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2311, allocations: 4 kB / 0.9799 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.2312, allocations: 7.984 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.2314, allocations: 53.67 kB / 0.98 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.2314, allocations: 4 kB / 0.98 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.2314, allocations: 3.938 kB / 0.98 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2315, allocations: 0 / 0.98 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.2317, allocations: 47.91 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.232, allocations: 256.8 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.2324, allocations: 78.53 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.2325, allocations: 28.94 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.2325, allocations: 0 / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.2326, allocations: 34.56 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.2326, allocations: 0 / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0538/0.2864, allocations: 1.761 MB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.2865, allocations: 55.39 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.2866, allocations: 117.8 kB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.496e-05/0.2867, allocations: 29.7 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.2868, allocations: 92.05 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.2869, allocations: 27.64 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-05/0.287, allocations: 0 / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.596e-05/0.2871, allocations: 314.8 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009147/0.288, allocations: 163.9 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008932/0.2889, allocations: 159.9 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009789/0.2899, allocations: 160 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.2899, allocations: 0 / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002255/0.2922, allocations: 389.3 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.2922, allocations: 4 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2923, allocations: 4 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.2923, allocations: 0 / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/0.2952, allocations: 87.78 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.2952, allocations: 0 / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/0.2978, allocations: 55.94 kB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.298, allocations: 12.06 kB / 0.9837 GB, free: 22.63 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.0002612/0.2983, allocations: 107.8 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.2984, allocations: 11.89 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.2986, allocations: 24.36 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2986, allocations: 0 / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.2987, allocations: 3.953 kB / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2987, allocations: 0 / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/0.3092, allocations: 0.9118 MB / 0.9847 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.3093, allocations: 11.95 kB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002141/0.3115, allocations: 71.84 kB / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.3115, allocations: 0 / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.729e-05/0.3116, allocations: 11.97 kB / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3116, allocations: 0 / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3116, allocations: 0 / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.3134, allocations: 377 kB / 0.9852 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.3135, allocations: 88.95 kB / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.3136, allocations: 4 kB / 0.9853 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001978/0.3156, allocations: 51.95 kB / 0.9853 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.3157, allocations: 7.984 kB / 0.9853 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.3158, allocations: 7.984 kB / 0.9853 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.41e-05/0.3159, allocations: 91.27 kB / 0.9854 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.21e-07/0.3159, allocations: 0 / 0.9854 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005528/0.3164, allocations: 96 kB / 0.9855 GB, free: 20.66 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.002091/0.3185, allocations: 0.9092 MB / 0.9864 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001827/0.3204, allocations: 279.8 kB / 0.9867 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.3205, allocations: 0 / 0.9867 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007677/0.3212, allocations: 123.8 kB / 0.9868 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.3217, allocations: 4 kB / 0.9868 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008679/0.3304, allocations: 1.619 MB / 0.9884 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.3306, allocations: 0.6888 MB / 0.9891 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009108/0.3315, allocations: 52 kB / 0.9891 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008442/0.3324, allocations: 43.36 kB / 0.9891 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.3324, allocations: 0 / 0.9891 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04419/0.3766, allocations: 9.038 MB / 0.998 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000312/0.377, allocations: 196.9 kB / 0.9982 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.165/3.542, allocations: 3.125 kB / 0.9982 GB, free: 7.66 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)