Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7583/0.7583, allocations: 127.4 MB / 134.9 MB, free: 3.449 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 177.2 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.2 MB / 399.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001019, allocations: 93.17 kB / 476.7 MB, free: 1.465 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.298e-05/3.331e-05, allocations: 7.5 kB / 0.5467 GB, free: 95.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1556, allocations: 76.77 MB / 0.6216 GB, free: 42.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.2819, allocations: 102.8 MB / 0.7221 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.2821, allocations: 83.95 kB / 0.7221 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.009364/0.2915, allocations: 3.254 MB / 0.7253 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2915, allocations: 0 / 0.7253 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.2916, allocations: 4 kB / 0.7253 GB, free: 0.6719 MB / 0.4948 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.0003748/0.2919, allocations: 429.8 kB / 0.7257 GB, free: 200 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.292, allocations: 12.03 kB / 0.7257 GB, free: 188 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.292, allocations: 11.86 kB / 0.7257 GB, free: 176 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.2922, allocations: 174.9 kB / 0.7259 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.2922, allocations: 0 / 0.7259 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.2923, allocations: 8 kB / 0.7259 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001219/0.2924, allocations: 59.91 kB / 0.726 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.2925, allocations: 89.64 kB / 0.7261 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2925, allocations: 4 kB / 0.7261 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2926, allocations: 0 / 0.7261 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2926, allocations: 4 kB / 0.7261 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.2927, allocations: 154.2 kB / 0.7262 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.2928, allocations: 74.55 kB / 0.7263 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.634e-05/0.2929, allocations: 64.89 kB / 0.7264 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.2929, allocations: 0 / 0.7264 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.293, allocations: 38.56 kB / 0.7264 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.293, allocations: 3.938 kB / 0.7264 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0002952/0.2933, allocations: 165.5 kB / 0.7266 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.2933, allocations: 81.09 kB / 0.7266 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2934, allocations: 130.6 kB / 0.7268 GB, free: 15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.2935, allocations: 25.7 kB / 0.7268 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.795e-05/0.2935, allocations: 92.12 kB / 0.7269 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.2935, allocations: 15.69 kB / 0.7269 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.2936, allocations: 4 kB / 0.7269 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2937, allocations: 322.8 kB / 0.7272 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.2938, allocations: 99.97 kB / 0.7273 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.2939, allocations: 95.94 kB / 0.7274 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.2941, allocations: 95.94 kB / 0.7275 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2941, allocations: 0 / 0.7275 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003392/0.2944, allocations: 249.4 kB / 0.7277 GB, free: 14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.575e-05/0.2945, allocations: 72.02 kB / 0.7278 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.2945, allocations: 0 / 0.7278 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2945, allocations: 0 / 0.7278 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.2945, allocations: 0 / 0.7278 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.2945, allocations: 0 / 0.7278 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.384e-05/0.2946, allocations: 15.97 kB / 0.7278 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.2947, allocations: 11.98 kB / 0.7278 GB, free: 13.89 MB / 0.5105 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 () * 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 9.005e-05/0.2947, allocations: 138.6 kB / 0.7279 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002245/0.295, allocations: 165.5 kB / 0.7281 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.295, allocations: 7.891 kB / 0.7281 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.593e-05/0.295, allocations: 12.34 kB / 0.7281 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.295, allocations: 0 / 0.7281 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.295, allocations: 0 / 0.7281 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.295, allocations: 0 / 0.7281 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.2952, allocations: 166.1 kB / 0.7283 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2952, allocations: 0 / 0.7283 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-06/0.2952, allocations: 0 / 0.7283 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.2952, allocations: 3.938 kB / 0.7283 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.2952, allocations: 8 kB / 0.7283 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.2952, allocations: 0 / 0.7283 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2952, allocations: 3.938 kB / 0.7283 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.2955, allocations: 192.9 kB / 0.7285 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.2955, allocations: 93.03 kB / 0.7286 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.2955, allocations: 0 / 0.7286 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.403e-05/0.2956, allocations: 4 kB / 0.7286 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.2957, allocations: 7.984 kB / 0.7286 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-06/0.2957, allocations: 4 kB / 0.7286 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.825e-05/0.2957, allocations: 105.6 kB / 0.7287 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2958, allocations: 3.938 kB / 0.7287 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002794/0.296, allocations: 71.92 kB / 0.7287 GB, free: 12.83 MB / 0.5105 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) * 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.0006245/0.2967, allocations: 0.7918 MB / 0.7295 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003581/0.297, allocations: 354.7 kB / 0.7299 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.297, allocations: 0 / 0.7299 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.2972, allocations: 131.3 kB / 0.73 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.2973, allocations: 4 kB / 0.73 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.2978, allocations: 226.2 kB / 0.7302 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.298, allocations: 0.6963 MB / 0.7309 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.743e-06/0.2981, allocations: 3.938 kB / 0.7309 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.2981, allocations: 19.38 kB / 0.7309 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.2981, allocations: 0 / 0.7309 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.3187, allocations: 2.481 MB / 0.7333 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/0.319, allocations: 160.2 kB / 0.7335 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.463/1.782, allocations: 0 / 0.7335 GB, free: 7.82 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)