Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 181.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6882/0.6882, allocations: 91.99 MB / 108.5 MB, free: 13.1 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.745/1.745, allocations: 223.2 MB / 354.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009964/0.0009964, allocations: 95.14 kB / 427.4 MB, free: 3.895 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 8 kB / 0.4983 GB, free: 42.15 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1657, allocations: 72.31 MB / 0.5689 GB, free: 1.777 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5123/0.678, allocations: 102.4 MB / 0.6689 GB, free: 1.965 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003747/0.6785, allocations: 87.92 kB / 0.669 GB, free: 1.879 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01072/0.6892, allocations: 3.234 MB / 0.6721 GB, free: 14.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.6893, allocations: 0 / 0.6721 GB, free: 14.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.6893, allocations: 0 / 0.6721 GB, free: 14.66 MB / 474.7 MB 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.0005843/0.6899, allocations: 447.1 kB / 0.6726 GB, free: 14.16 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/0.69, allocations: 8.031 kB / 0.6726 GB, free: 14.15 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.906e-05/0.69, allocations: 38.56 kB / 0.6726 GB, free: 14.11 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.6901, allocations: 15.86 kB / 0.6726 GB, free: 14.09 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.6903, allocations: 174.9 kB / 0.6728 GB, free: 13.88 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.6903, allocations: 0 / 0.6728 GB, free: 13.88 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.6903, allocations: 4 kB / 0.6728 GB, free: 13.88 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.6905, allocations: 93.64 kB / 0.6729 GB, free: 13.78 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.6906, allocations: 0 / 0.6729 GB, free: 13.78 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.6906, allocations: 0 / 0.6729 GB, free: 13.78 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.6906, allocations: 0 / 0.6729 GB, free: 13.78 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.6907, allocations: 67.84 kB / 0.673 GB, free: 13.71 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002349/0.6909, allocations: 181.6 kB / 0.6731 GB, free: 13.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.6911, allocations: 78.53 kB / 0.6732 GB, free: 13.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.6911, allocations: 4.031 kB / 0.6732 GB, free: 13.39 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.6911, allocations: 30.56 kB / 0.6732 GB, free: 13.36 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.6911, allocations: 0 / 0.6732 GB, free: 13.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005229/0.6917, allocations: 340.2 kB / 0.6736 GB, free: 12.99 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/0.6918, allocations: 77.11 kB / 0.6736 GB, free: 12.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.6919, allocations: 139.2 kB / 0.6738 GB, free: 12.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.6919, allocations: 25.7 kB / 0.6738 GB, free: 12.72 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.692, allocations: 96.03 kB / 0.6739 GB, free: 12.62 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.6921, allocations: 7.906 kB / 0.6739 GB, free: 12.62 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.6921, allocations: 0 / 0.6739 GB, free: 12.62 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6922, allocations: 326.8 kB / 0.6742 GB, free: 12.29 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.6924, allocations: 95.94 kB / 0.6743 GB, free: 12.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.6925, allocations: 95.92 kB / 0.6744 GB, free: 12.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.6927, allocations: 159.3 kB / 0.6745 GB, free: 11.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.6927, allocations: 4.031 kB / 0.6745 GB, free: 11.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003849/0.6931, allocations: 308.8 kB / 0.6748 GB, free: 11.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.21e-05/0.6931, allocations: 71.39 kB / 0.6749 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.6932, allocations: 7.938 kB / 0.6749 GB, free: 11.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.6932, allocations: 3.938 kB / 0.6749 GB, free: 11.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.6932, allocations: 0 / 0.6749 GB, free: 11.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.6932, allocations: 0 / 0.6749 GB, free: 11.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.759e-05/0.6933, allocations: 15.84 kB / 0.6749 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.6933, allocations: 11.92 kB / 0.6749 GB, free: 11.49 MB / 474.7 MB 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.0001357/0.6935, allocations: 159.5 kB / 0.6751 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.6935, allocations: 8.406 kB / 0.6751 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.6935, allocations: 4.25 kB / 0.6751 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.6935, allocations: 0 / 0.6751 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6935, allocations: 0 / 0.6751 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.6936, allocations: 4 kB / 0.6751 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.6937, allocations: 177.5 kB / 0.6753 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.6937, allocations: 4 kB / 0.6753 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-07/0.6937, allocations: 0 / 0.6753 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.6937, allocations: 0 / 0.6753 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.6938, allocations: 4 kB / 0.6753 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.6938, allocations: 0 / 0.6753 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6938, allocations: 0 / 0.6753 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.6941, allocations: 234.5 kB / 0.6755 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/0.6942, allocations: 81.02 kB / 0.6756 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.6942, allocations: 7.984 kB / 0.6756 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.707e-05/0.6943, allocations: 4 kB / 0.6756 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.6943, allocations: 16.02 kB / 0.6756 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.6944, allocations: 7.984 kB / 0.6756 GB, free: 10.69 MB / 474.7 MB Notification: Performance of sorting global known variables: time 7.19e-05/0.6944, allocations: 100.5 kB / 0.6757 GB, free: 10.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6944, allocations: 0 / 0.6757 GB, free: 10.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003416/0.6948, allocations: 75.92 kB / 0.6758 GB, free: 10.52 MB / 474.7 MB 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.0008723/0.6957, allocations: 0.8209 MB / 0.6766 GB, free: 9.66 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004452/0.6961, allocations: 370.6 kB / 0.6769 GB, free: 9.273 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6961, allocations: 3.938 kB / 0.677 GB, free: 9.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.6963, allocations: 135.4 kB / 0.6771 GB, free: 9.125 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.6964, allocations: 0 / 0.6771 GB, free: 9.125 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006986/0.6971, allocations: 446.4 kB / 0.6775 GB, free: 8.637 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.6975, allocations: 0.6965 MB / 0.6782 GB, free: 7.914 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.885e-06/0.6975, allocations: 0 / 0.6782 GB, free: 7.914 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.6975, allocations: 15.44 kB / 0.6782 GB, free: 7.898 MB / 474.7 MB Notification: Performance of SimCode: time 8.02e-07/0.6975, allocations: 0 / 0.6782 GB, free: 7.898 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/0.7137, allocations: 2.819 MB / 0.681 GB, free: 5.215 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/0.714, allocations: 174.6 kB / 0.6811 GB, free: 4.98 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.371, allocations: 3.938 kB / 0.6811 GB, free: 4.977 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)