Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.662/2.662, allocations: 287.5 MB / 302.4 MB, free: 8.344 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.001452/0.001452, allocations: 178.3 kB / 371 MB, free: 10.87 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.165/2.165, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009389/0.0009388, allocations: 93.03 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007988/0.0007991, allocations: 17.72 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2384, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0008057/0.2393, allocations: 351.5 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002129/0.2414, allocations: 1.379 MB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.2415, allocations: 0 / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.473e-05/0.2416, allocations: 0 / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.656e-05/0.2417, allocations: 0 / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008269/0.2425, allocations: 143.8 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.095e-05/0.2426, allocations: 31.91 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.2427, allocations: 0 / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.756e-05/0.2427, allocations: 27.91 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.056e-05/0.2428, allocations: 23.97 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.2428, allocations: 4 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.2432, allocations: 179.7 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.2433, allocations: 7.938 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.2433, allocations: 29.7 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.2436, allocations: 132 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.2436, allocations: 4 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2436, allocations: 0 / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2436, allocations: 0 / 0.9807 GB, free: 25.94 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004117/0.244, allocations: 430.5 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.2441, allocations: 12.02 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.2442, allocations: 34.5 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.2442, allocations: 11.86 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2443, allocations: 176.7 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2444, allocations: 8 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.2444, allocations: 4 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.2446, allocations: 93.64 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.2446, allocations: 3.938 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.2447, allocations: 0 / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2447, allocations: 4 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.2448, allocations: 59.95 kB / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.245, allocations: 181.5 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.2451, allocations: 82.53 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.2453, allocations: 68.89 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.2453, allocations: 0 / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.2453, allocations: 34.56 kB / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.2453, allocations: 0 / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0005429/0.2459, allocations: 255.1 kB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.246, allocations: 81.09 kB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.2461, allocations: 144 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.2461, allocations: 29.73 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.2462, allocations: 96.12 kB / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.2462, allocations: 15.81 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-06/0.2462, allocations: 0 / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.975e-05/0.2463, allocations: 322.8 kB / 0.9828 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.2465, allocations: 99.94 kB / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.2467, allocations: 103.9 kB / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.2469, allocations: 167.3 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2469, allocations: 0 / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004722/0.2474, allocations: 320.8 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.19e-05/0.2475, allocations: 67.39 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2475, allocations: 3.938 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2475, allocations: 4 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.2475, allocations: 0 / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2475, allocations: 0 / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.2477, allocations: 15.83 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.2477, allocations: 8 kB / 0.9835 GB, free: 22.78 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001226/0.2479, allocations: 156.8 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.2479, allocations: 7.906 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.783e-05/0.2479, allocations: 8.25 kB / 0.9837 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2479, allocations: 144 / 0.9837 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.248, allocations: 3.984 kB / 0.9837 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.248, allocations: 3.984 kB / 0.9837 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.2481, allocations: 177.6 kB / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2481, allocations: 0 / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-06/0.2481, allocations: 0 / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2481, allocations: 3.984 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.2481, allocations: 4 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2482, allocations: 4 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2482, allocations: 3.938 kB / 0.9839 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.2485, allocations: 234.5 kB / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.2486, allocations: 81.11 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.2486, allocations: 0 / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.2487, allocations: 4 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.2488, allocations: 7.984 kB / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.2488, allocations: 8.031 kB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.679e-05/0.2489, allocations: 107.2 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2489, allocations: 0 / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003786/0.2493, allocations: 64 kB / 0.9843 GB, free: 21.81 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008316/0.2501, allocations: 0.814 MB / 0.9851 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005046/0.2507, allocations: 378.6 kB / 0.9855 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2507, allocations: 0 / 0.9855 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.2509, allocations: 135.3 kB / 0.9856 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.2511, allocations: 8 kB / 0.9856 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.2528, allocations: 1.01 MB / 0.9866 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.2531, allocations: 0.6926 MB / 0.9873 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.003e-05/0.2531, allocations: 0 / 0.9873 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.2531, allocations: 19.44 kB / 0.9873 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of SimCode: time 1.693e-06/0.2531, allocations: 0 / 0.9873 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/0.2805, allocations: 2.935 MB / 0.9902 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002803/0.2809, allocations: 205.5 kB / 0.9904 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/2.867, allocations: 0 / 0.9904 GB, free: 15.59 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)