Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.449/1.449, allocations: 251.9 MB / 266.9 MB, free: 11.1 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.001139/0.001138, allocations: 189.6 kB / 326.5 MB, free: 2.293 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.971/1.971, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.001264/0.001264, allocations: 86.36 kB / 0.6821 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003564, allocations: 14.97 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2893, allocations: 106.3 MB / 0.9002 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/0.4802, allocations: 132.6 MB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.4805, allocations: 83.94 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009858/0.4904, allocations: 3.197 MB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.464e-06/0.4904, allocations: 0 / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.4904, allocations: 3.938 kB / 1.033 GB, free: 7.871 MB / 0.6823 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.0004976/0.4909, allocations: 440.2 kB / 1.033 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.491, allocations: 16.02 kB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.491, allocations: 30.56 kB / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.4911, allocations: 11.91 kB / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.4912, allocations: 178.9 kB / 1.033 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.4913, allocations: 3.938 kB / 1.033 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.4913, allocations: 8 kB / 1.033 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.4915, allocations: 97.62 kB / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.4915, allocations: 0 / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4915, allocations: 0 / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4915, allocations: 0 / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.38e-05/0.4916, allocations: 63.89 kB / 1.034 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.4918, allocations: 177.6 kB / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.4919, allocations: 82.53 kB / 1.034 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.4919, allocations: 4 kB / 1.034 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.492, allocations: 30.56 kB / 1.034 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.492, allocations: 0 / 1.034 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0005168/0.4925, allocations: 336.3 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.4926, allocations: 77.11 kB / 1.034 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.4927, allocations: 139.4 kB / 1.034 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.4927, allocations: 29.7 kB / 1.034 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.4928, allocations: 88.05 kB / 1.035 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.4928, allocations: 11.94 kB / 1.035 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.4929, allocations: 0 / 1.035 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.493, allocations: 324.7 kB / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.4931, allocations: 95.94 kB / 1.035 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.4932, allocations: 99.92 kB / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.4934, allocations: 159.3 kB / 1.035 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.4934, allocations: 3.953 kB / 1.035 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003634/0.4938, allocations: 312.8 kB / 1.036 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.329e-05/0.4939, allocations: 75.33 kB / 1.036 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4939, allocations: 4.062 kB / 1.036 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.4939, allocations: 0 / 1.036 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.4939, allocations: 0 / 1.036 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.4939, allocations: 0 / 1.036 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.494, allocations: 19.83 kB / 1.036 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.494, allocations: 4 kB / 1.036 GB, free: 4.711 MB / 0.6823 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.0001149/0.4942, allocations: 147.5 kB / 1.036 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.4942, allocations: 15.86 kB / 1.036 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.719e-05/0.4942, allocations: 4.25 kB / 1.036 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4942, allocations: 11.98 kB / 1.036 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.4942, allocations: 3.938 kB / 1.036 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4942, allocations: 0 / 1.036 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.4944, allocations: 169.7 kB / 1.036 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4944, allocations: 7.984 kB / 1.036 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-06/0.4944, allocations: 3.953 kB / 1.036 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4944, allocations: 0 / 1.036 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.4944, allocations: 0 / 1.036 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4944, allocations: 4 kB / 1.036 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4944, allocations: 0 / 1.036 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.4947, allocations: 230.6 kB / 1.036 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.4948, allocations: 85.02 kB / 1.036 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.4948, allocations: 3.953 kB / 1.036 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.778e-05/0.4949, allocations: 4 kB / 1.036 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.4949, allocations: 7.984 kB / 1.036 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.4949, allocations: 8 kB / 1.036 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.136e-05/0.495, allocations: 105 kB / 1.036 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.495, allocations: 4.031 kB / 1.036 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003247/0.4954, allocations: 75.94 kB / 1.036 GB, free: 3.73 MB / 0.6823 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.0007903/0.4962, allocations: 0.821 MB / 1.037 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004374/0.4966, allocations: 366.6 kB / 1.038 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4966, allocations: 96 / 1.038 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.4968, allocations: 143.3 kB / 1.038 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.4969, allocations: 7.953 kB / 1.038 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.4975, allocations: 445.6 kB / 1.038 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.4978, allocations: 0.7004 MB / 1.039 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.103e-06/0.4978, allocations: 0 / 1.039 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.4979, allocations: 15.44 kB / 1.039 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/0.4979, allocations: 0 / 1.039 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.5133, allocations: 2.817 MB / 1.042 GB, free: 14.44 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/0.5136, allocations: 195.9 kB / 1.042 GB, free: 14.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.108, allocations: 2.5 kB / 1.042 GB, free: 14.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)