Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.648/1.648, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001017/0.001017, allocations: 189 kB / 371.8 MB, free: 10.27 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.322/1.322, allocations: 205.4 MB / 0.6305 GB, free: 9.883 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.0007872/0.0007873, allocations: 93.47 kB / 0.7439 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005269/0.0005269, allocations: 13.25 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2458, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.000982/0.2468, allocations: 334.1 kB / 0.9798 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.2489, allocations: 1.388 MB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.124e-05/0.249, allocations: 0 / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.352e-05/0.249, allocations: 0 / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.92e-05/0.2491, allocations: 7.922 kB / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.2497, allocations: 129.9 kB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.37e-05/0.2498, allocations: 19.97 kB / 0.9813 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/0.2499, allocations: 8 kB / 0.9813 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.27e-05/0.2499, allocations: 23.91 kB / 0.9813 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.61e-05/0.25, allocations: 23.91 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.25, allocations: 4 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003192/0.2504, allocations: 171.7 kB / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.635e-05/0.2504, allocations: 15.92 kB / 0.9815 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.2505, allocations: 29.7 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.2507, allocations: 120 kB / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2507, allocations: 0 / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2507, allocations: 0 / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2507, allocations: 0 / 0.9817 GB, free: 25.29 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.0003848/0.2511, allocations: 438.5 kB / 0.9821 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.2512, allocations: 12.02 kB / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.101e-05/0.2512, allocations: 30.56 kB / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.2513, allocations: 7.906 kB / 0.9822 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.2514, allocations: 178.9 kB / 0.9823 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.2514, allocations: 4 kB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.2515, allocations: 0 / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.2517, allocations: 93.64 kB / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2517, allocations: 4 kB / 0.9824 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.2517, allocations: 8 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.2517, allocations: 0 / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.2519, allocations: 59.95 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.252, allocations: 177.5 kB / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.2522, allocations: 86.45 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.2522, allocations: 0 / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.2522, allocations: 34.56 kB / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2523, allocations: 32 / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0005076/0.2528, allocations: 328.3 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.2528, allocations: 93.03 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.253, allocations: 147.3 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.253, allocations: 33.58 kB / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.253, allocations: 88.14 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.2531, allocations: 7.812 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-06/0.2531, allocations: 4 kB / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.351e-05/0.2531, allocations: 326.8 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.2533, allocations: 99.94 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.2535, allocations: 103.9 kB / 0.9839 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.2537, allocations: 163.3 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2537, allocations: 0 / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004257/0.2541, allocations: 316.8 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.801e-05/0.2542, allocations: 75.38 kB / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2542, allocations: 0 / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2542, allocations: 0 / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.565e-06/0.2543, allocations: 4 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2543, allocations: 4.062 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.2545, allocations: 11.84 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.2545, allocations: 4 kB / 0.9845 GB, free: 22.11 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.0001087/0.2546, allocations: 155.4 kB / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.2547, allocations: 11.91 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.625e-05/0.2547, allocations: 8.234 kB / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2547, allocations: 4 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2547, allocations: 0 / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2547, allocations: 4 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.2548, allocations: 177.6 kB / 0.9848 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2548, allocations: 0 / 0.9848 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-06/0.2549, allocations: 0 / 0.9848 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.2549, allocations: 3.938 kB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.2549, allocations: 0 / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2549, allocations: 4 kB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2549, allocations: 0 / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.2552, allocations: 222.6 kB / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.2553, allocations: 89.09 kB / 0.9852 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.2553, allocations: 4 kB / 0.9852 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.2554, allocations: 4 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.2555, allocations: 11.98 kB / 0.9852 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.2555, allocations: 4 kB / 0.9852 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.057e-05/0.2556, allocations: 108.4 kB / 0.9853 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2556, allocations: 0 / 0.9853 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004698/0.2561, allocations: 68 kB / 0.9853 GB, free: 21.14 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.0007435/0.2569, allocations: 0.8131 MB / 0.9861 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004445/0.2573, allocations: 370.6 kB / 0.9865 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2573, allocations: 0 / 0.9865 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.2575, allocations: 143.3 kB / 0.9866 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.2577, allocations: 2.25 kB / 0.9866 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006706/0.2583, allocations: 445.6 kB / 0.9871 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.2585, allocations: 0.6926 MB / 0.9877 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.841e-06/0.2585, allocations: 0 / 0.9877 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.2585, allocations: 23.42 kB / 0.9878 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.2585, allocations: 0 / 0.9878 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.2743, allocations: 2.858 MB / 0.9905 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.2746, allocations: 200.4 kB / 0.9907 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/1.846, allocations: 2.672 kB / 0.9907 GB, free: 15.59 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)