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.362/1.362, allocations: 251.9 MB / 266.8 MB, free: 10.97 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.001142/0.001142, allocations: 178.9 kB / 326.5 MB, free: 2.215 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.723/1.723, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.001408/0.001408, allocations: 100.6 kB / 0.6821 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003005/0.0003007, allocations: 11.94 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1821, allocations: 106.3 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0006651/0.1828, allocations: 370 kB / 0.9005 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003187/0.1832, allocations: 192.5 kB / 0.9007 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.1832, allocations: 0 / 0.9007 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.003e-05/0.1832, allocations: 0 / 0.9007 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.1834, allocations: 0 / 0.9007 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.1835, allocations: 63.89 kB / 0.9008 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.518e-05/0.1836, allocations: 19.91 kB / 0.9008 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.1837, allocations: 8 kB / 0.9008 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.645e-05/0.1837, allocations: 11.92 kB / 0.9008 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.528e-05/0.1838, allocations: 23.91 kB / 0.9008 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.1838, allocations: 0 / 0.9008 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1839, allocations: 111.8 kB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.184, allocations: 3.984 kB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.904e-05/0.184, allocations: 29.64 kB / 0.901 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.1841, allocations: 79.92 kB / 0.901 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1841, allocations: 0 / 0.901 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.933e-06/0.1841, allocations: 0 / 0.901 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.1841, allocations: 0 / 0.901 GB, free: 63.28 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.0004011/0.1845, allocations: 359.6 kB / 0.9014 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1846, allocations: 12.03 kB / 0.9014 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.613e-05/0.1846, allocations: 34.55 kB / 0.9014 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.238e-05/0.1846, allocations: 7.984 kB / 0.9014 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.462e-05/0.1847, allocations: 174.9 kB / 0.9016 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1848, allocations: 4 kB / 0.9016 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.1848, allocations: 4 kB / 0.9016 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.1849, allocations: 61.66 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1849, allocations: 0 / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.1849, allocations: 0 / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.185, allocations: 0 / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.1851, allocations: 47.91 kB / 0.9017 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.1853, allocations: 256.9 kB / 0.902 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.1855, allocations: 78.52 kB / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.1855, allocations: 4 kB / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.288e-05/0.1855, allocations: 34.56 kB / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1855, allocations: 3.938 kB / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.03336/0.2189, allocations: 1.757 MB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.219, allocations: 55.36 kB / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.2191, allocations: 117.8 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.814e-05/0.2192, allocations: 25.7 kB / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.2193, allocations: 92.06 kB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.2194, allocations: 27.56 kB / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.065e-05/0.2195, allocations: 0 / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.21e-05/0.2196, allocations: 322.8 kB / 0.9044 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009361/0.2205, allocations: 159.9 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008955/0.2215, allocations: 159.9 kB / 0.9047 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009527/0.2224, allocations: 159.9 kB / 0.9049 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2224, allocations: 7.938 kB / 0.9049 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002155/0.2246, allocations: 378.1 kB / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2247, allocations: 4 kB / 0.9052 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2247, allocations: 0 / 0.9052 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.2247, allocations: 4 kB / 0.9052 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002737/0.2275, allocations: 79.92 kB / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.2275, allocations: 7.891 kB / 0.9053 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.2299, allocations: 55.95 kB / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.23, allocations: 11.97 kB / 0.9054 GB, free: 58.61 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.0002667/0.2303, allocations: 113.8 kB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.2305, allocations: 3.906 kB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.2307, allocations: 20.38 kB / 0.9055 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.2308, allocations: 0 / 0.9055 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.2308, allocations: 3.984 kB / 0.9055 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.2308, allocations: 11.95 kB / 0.9055 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009982/0.2408, allocations: 0.9076 MB / 0.9064 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.2408, allocations: 3.984 kB / 0.9064 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/0.2427, allocations: 71.86 kB / 0.9065 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.2427, allocations: 432 / 0.9065 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-05/0.2428, allocations: 12.05 kB / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.2428, allocations: 0 / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2428, allocations: 4 kB / 0.9065 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.2443, allocations: 396.4 kB / 0.9069 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.2444, allocations: 89 kB / 0.907 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.2445, allocations: 3.984 kB / 0.907 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/0.2461, allocations: 43.95 kB / 0.907 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.2461, allocations: 4 kB / 0.907 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/0.2462, allocations: 19.91 kB / 0.907 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.2463, allocations: 91.28 kB / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-07/0.2463, allocations: 0 / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00066/0.247, allocations: 99.98 kB / 0.9072 GB, free: 56.6 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.001684/0.2487, allocations: 1.081 MB / 0.9083 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.2499, allocations: 287.9 kB / 0.9085 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2499, allocations: 0 / 0.9085 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.2503, allocations: 120.5 kB / 0.9087 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.2504, allocations: 11.95 kB / 0.9087 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004784/0.2552, allocations: 1.611 MB / 0.9102 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.2554, allocations: 0.6887 MB / 0.9109 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005534/0.256, allocations: 52 kB / 0.911 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/0.2565, allocations: 39.36 kB / 0.911 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of SimCode: time 1.973e-06/0.2565, allocations: 0 / 0.911 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.2731, allocations: 9.013 MB / 0.9198 GB, free: 43.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00012/0.2733, allocations: 202.9 kB / 0.92 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.051, allocations: 0 / 0.92 GB, free: 43.46 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)