Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.432/2.432, allocations: 390.3 MB / 405.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 184.8 kB / 498.1 MB, free: 5.711 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.71/1.71, allocations: 223.2 MB / 0.7948 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 107.8 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004033, allocations: 21.38 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3042, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.209/0.5132, allocations: 150.1 MB / 1.37 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.5136, allocations: 87.89 kB / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0107/0.5243, allocations: 3.219 MB / 1.373 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5243, allocations: 0 / 1.373 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.5243, allocations: 0 / 1.373 GB, free: 8.527 MB / 0.8698 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.0005588/0.5249, allocations: 458.4 kB / 1.373 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.525, allocations: 8.031 kB / 1.373 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.822e-05/0.525, allocations: 34.56 kB / 1.373 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.5251, allocations: 7.906 kB / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.5252, allocations: 182.9 kB / 1.373 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.5253, allocations: 0 / 1.373 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.5253, allocations: 4 kB / 1.373 GB, free: 7.738 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.5255, allocations: 101.6 kB / 1.373 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.5255, allocations: 0 / 1.373 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.5255, allocations: 0 / 1.373 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5256, allocations: 0 / 1.373 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.6e-05/0.5257, allocations: 59.95 kB / 1.374 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.5259, allocations: 185.5 kB / 1.374 GB, free: 7.344 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.526, allocations: 86.5 kB / 1.374 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.126e-06/0.526, allocations: 0 / 1.374 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.526, allocations: 30.56 kB / 1.374 GB, free: 7.211 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.5261, allocations: 0 / 1.374 GB, free: 7.211 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.00047/0.5265, allocations: 328.3 kB / 1.374 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.5266, allocations: 85.09 kB / 1.374 GB, free: 6.758 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.5267, allocations: 126.2 kB / 1.374 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.5268, allocations: 33.73 kB / 1.374 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.5268, allocations: 88.12 kB / 1.374 GB, free: 6.496 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.5269, allocations: 15.81 kB / 1.374 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.5269, allocations: 0 / 1.374 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.527, allocations: 322.8 kB / 1.375 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.5272, allocations: 103.9 kB / 1.375 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.5273, allocations: 99.81 kB / 1.375 GB, free: 5.957 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.5275, allocations: 159.3 kB / 1.375 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5275, allocations: 32 / 1.375 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003653/0.5278, allocations: 316.8 kB / 1.375 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.106e-05/0.5279, allocations: 67.38 kB / 1.376 GB, free: 5.383 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5279, allocations: 4 kB / 1.376 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.528, allocations: 0 / 1.376 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-06/0.528, allocations: 0 / 1.376 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.528, allocations: 0 / 1.376 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.197e-05/0.5281, allocations: 15.84 kB / 1.376 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.5281, allocations: 8 kB / 1.376 GB, free: 5.355 MB / 0.8698 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.0001229/0.5282, allocations: 159.5 kB / 1.376 GB, free: 5.184 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.5283, allocations: 7.906 kB / 1.376 GB, free: 5.176 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.561e-05/0.5283, allocations: 4.25 kB / 1.376 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5283, allocations: 0 / 1.376 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5283, allocations: 7.938 kB / 1.376 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5283, allocations: 3.938 kB / 1.376 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.5285, allocations: 173.6 kB / 1.376 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5285, allocations: 4 kB / 1.376 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.61e-07/0.5285, allocations: 0 / 1.376 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.5285, allocations: 0 / 1.376 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.5285, allocations: 0 / 1.376 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5285, allocations: 4 kB / 1.376 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5285, allocations: 4 kB / 1.376 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.5288, allocations: 226.6 kB / 1.376 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.5288, allocations: 81.2 kB / 1.376 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.5289, allocations: 4 kB / 1.376 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.505e-05/0.5289, allocations: 11.97 kB / 1.376 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.529, allocations: 7.938 kB / 1.376 GB, free: 4.562 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.529, allocations: 8.031 kB / 1.376 GB, free: 4.555 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.694e-05/0.5291, allocations: 109.8 kB / 1.376 GB, free: 4.449 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5291, allocations: 0 / 1.376 GB, free: 4.449 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003539/0.5295, allocations: 79.91 kB / 1.376 GB, free: 4.371 MB / 0.8698 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.0008897/0.5304, allocations: 0.8275 MB / 1.377 GB, free: 3.508 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004431/0.5308, allocations: 370.7 kB / 1.378 GB, free: 3.121 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.5308, allocations: 0 / 1.378 GB, free: 3.121 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.531, allocations: 135.3 kB / 1.378 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001112/0.5311, allocations: 3.938 kB / 1.378 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007234/0.5318, allocations: 457.8 kB / 1.378 GB, free: 2.469 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.5322, allocations: 0.6926 MB / 1.379 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.498e-06/0.5323, allocations: 7.984 kB / 1.379 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.5323, allocations: 15.44 kB / 1.379 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of SimCode: time 6.11e-07/0.5323, allocations: 0 / 1.379 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.5514, allocations: 2.803 MB / 1.382 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003371/0.5518, allocations: 183.2 kB / 1.382 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.277, allocations: 7.938 kB / 1.382 GB, free: 14.81 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat does not exist to compare? outputFormat=mat