Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite",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.8149/0.8149, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001292/0.001292, allocations: 192.7 kB / 169.7 MB, free: 1.707 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.802/1.802, allocations: 205.1 MB / 404.5 MB, free: 1.574 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.0009198/0.0009198, allocations: 92.19 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.905e-05/4.918e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1876, allocations: 76.77 MB / 0.6283 GB, free: 9.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5785/0.7662, allocations: 102.2 MB / 0.7281 GB, free: 11.11 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.7665, allocations: 82.88 kB / 0.7282 GB, free: 11.06 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003638/0.7702, allocations: 1.252 MB / 0.7294 GB, free: 9.941 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.7702, allocations: 0 / 0.7294 GB, free: 9.941 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.7702, allocations: 4 kB / 0.7294 GB, free: 9.938 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003252/0.7705, allocations: 358.2 kB / 0.7297 GB, free: 9.547 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.7706, allocations: 8.031 kB / 0.7298 GB, free: 9.539 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.7706, allocations: 37.98 kB / 0.7298 GB, free: 9.496 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.7707, allocations: 12.64 kB / 0.7298 GB, free: 9.484 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.7708, allocations: 167 kB / 0.73 GB, free: 9.281 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.7708, allocations: 0 / 0.73 GB, free: 9.281 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.7709, allocations: 6.875 kB / 0.73 GB, free: 9.277 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.652e-05/0.771, allocations: 40.88 kB / 0.73 GB, free: 9.234 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.771, allocations: 3.984 kB / 0.73 GB, free: 9.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.771, allocations: 4 kB / 0.73 GB, free: 9.227 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.771, allocations: 3.938 kB / 0.73 GB, free: 9.223 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.785e-05/0.7711, allocations: 18.77 kB / 0.73 GB, free: 9.207 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/0.7714, allocations: 246.9 kB / 0.7303 GB, free: 8.926 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.417e-05/0.7714, allocations: 38.06 kB / 0.7303 GB, free: 8.883 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.7715, allocations: 15.86 kB / 0.7303 GB, free: 8.867 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.7715, allocations: 4.656 kB / 0.7303 GB, free: 8.863 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.7715, allocations: 34.5 kB / 0.7304 GB, free: 8.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.7715, allocations: 0 / 0.7304 GB, free: 8.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.01595/0.7875, allocations: 1.135 MB / 0.7315 GB, free: 7.773 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.7876, allocations: 54.59 kB / 0.7315 GB, free: 7.711 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.7877, allocations: 106.9 kB / 0.7316 GB, free: 7.605 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.955e-05/0.7878, allocations: 33.45 kB / 0.7317 GB, free: 7.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.7878, allocations: 95.91 kB / 0.7317 GB, free: 7.477 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.147e-05/0.7879, allocations: 15.72 kB / 0.7318 GB, free: 7.461 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.788, allocations: 3.875 kB / 0.7318 GB, free: 7.461 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.7881, allocations: 318.8 kB / 0.7321 GB, free: 7.141 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.7885, allocations: 117.2 kB / 0.7322 GB, free: 7.062 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003392/0.7888, allocations: 111.8 kB / 0.7323 GB, free: 6.988 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.7892, allocations: 121 kB / 0.7324 GB, free: 6.906 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.7892, allocations: 3.938 kB / 0.7324 GB, free: 6.902 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009379/0.7901, allocations: 271.1 kB / 0.7327 GB, free: 6.699 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7902, allocations: 7.953 kB / 0.7327 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.7902, allocations: 0 / 0.7327 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.7902, allocations: 4.281 kB / 0.7327 GB, free: 6.688 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.7918, allocations: 79.3 kB / 0.7328 GB, free: 6.613 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.7918, allocations: 0 / 0.7328 GB, free: 6.613 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.7931, allocations: 47.95 kB / 0.7328 GB, free: 6.566 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-05/0.7932, allocations: 7.984 kB / 0.7328 GB, free: 6.559 MB / 490.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001583/0.7934, allocations: 104.4 kB / 0.7329 GB, free: 6.453 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.7935, allocations: 15.89 kB / 0.7329 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.7936, allocations: 23.89 kB / 0.7329 GB, free: 6.418 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.7936, allocations: 4 kB / 0.7329 GB, free: 6.414 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7936, allocations: 0.6562 kB / 0.7329 GB, free: 6.414 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.7936, allocations: 0 / 0.7329 GB, free: 6.414 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/0.799, allocations: 0.8057 MB / 0.7337 GB, free: 5.598 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.799, allocations: 0 / 0.7337 GB, free: 5.598 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.8002, allocations: 67.5 kB / 0.7338 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.8002, allocations: 0 / 0.7338 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.8002, allocations: 4 kB / 0.7338 GB, free: 5.531 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.8003, allocations: 3.938 kB / 0.7338 GB, free: 5.527 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8003, allocations: 0 / 0.7338 GB, free: 5.527 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007421/0.801, allocations: 299.9 kB / 0.7341 GB, free: 5.227 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.8011, allocations: 85.02 kB / 0.7342 GB, free: 5.125 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.962e-05/0.8011, allocations: 3.375 kB / 0.7342 GB, free: 5.125 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.8022, allocations: 43.95 kB / 0.7342 GB, free: 5.082 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.8022, allocations: 11.94 kB / 0.7342 GB, free: 5.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.8023, allocations: 4 kB / 0.7342 GB, free: 5.066 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.284e-05/0.8024, allocations: 96.94 kB / 0.7343 GB, free: 4.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8024, allocations: 0 / 0.7343 GB, free: 4.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004047/0.8028, allocations: 107 kB / 0.7344 GB, free: 4.879 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.001191/0.804, allocations: 0.9879 MB / 0.7354 GB, free: 3.879 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007276/0.8047, allocations: 190.2 kB / 0.7356 GB, free: 3.742 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8047, allocations: 0 / 0.7356 GB, free: 3.742 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.805, allocations: 68.73 kB / 0.7356 GB, free: 3.688 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.8052, allocations: 8.844 kB / 0.7356 GB, free: 3.684 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.808, allocations: 297.5 kB / 0.7359 GB, free: 3.363 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.8082, allocations: 0.6887 MB / 0.7366 GB, free: 2.648 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004867/0.8087, allocations: 52.23 kB / 0.7367 GB, free: 2.598 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004551/0.8092, allocations: 21.98 kB / 0.7367 GB, free: 2.582 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.8092, allocations: 0 / 0.7367 GB, free: 2.582 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.83, allocations: 8.898 MB / 0.7454 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.8302, allocations: 185 kB / 0.7455 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.739, allocations: 0 / 0.7455 GB, free: 9.527 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)