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.8211/0.8211, 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.001517/0.001517, allocations: 180.8 kB / 169.7 MB, free: 1.738 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.903/1.903, allocations: 205.1 MB / 404.5 MB, free: 1.66 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.001136/0.001136, allocations: 87.48 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.849e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1883, allocations: 76.77 MB / 0.6283 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6091/0.7975, allocations: 103.5 MB / 0.7293 GB, free: 9.898 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.7979, allocations: 80.58 kB / 0.7294 GB, free: 9.855 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01004/0.8079, allocations: 3.267 MB / 0.7326 GB, free: 6.969 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.808, allocations: 0 / 0.7326 GB, free: 6.969 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.808, allocations: 0 / 0.7326 GB, free: 6.969 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004626/0.8084, allocations: 429.8 kB / 0.733 GB, free: 6.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.8085, allocations: 8.031 kB / 0.733 GB, free: 6.492 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.8086, allocations: 34.12 kB / 0.733 GB, free: 6.453 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.8086, allocations: 15.84 kB / 0.7331 GB, free: 6.438 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.8088, allocations: 171.9 kB / 0.7332 GB, free: 6.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.8088, allocations: 7.938 kB / 0.7332 GB, free: 6.223 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.8088, allocations: 7.938 kB / 0.7332 GB, free: 6.215 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.809, allocations: 104.1 kB / 0.7333 GB, free: 6.113 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.809, allocations: 0 / 0.7333 GB, free: 6.113 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.809, allocations: 0 / 0.7333 GB, free: 6.113 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.809, allocations: 0 / 0.7333 GB, free: 6.113 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.549e-05/0.8091, allocations: 59.86 kB / 0.7334 GB, free: 6.059 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.8093, allocations: 179.9 kB / 0.7336 GB, free: 5.844 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.8094, allocations: 77.47 kB / 0.7336 GB, free: 5.762 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.217e-05/0.8095, allocations: 75.64 kB / 0.7337 GB, free: 5.691 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-06/0.8096, allocations: 0 / 0.7337 GB, free: 5.691 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.8096, allocations: 34.5 kB / 0.7337 GB, free: 5.648 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.8096, allocations: 0 / 0.7337 GB, free: 5.648 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003244/0.8099, allocations: 189.8 kB / 0.7339 GB, free: 5.461 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.81, allocations: 77.11 kB / 0.734 GB, free: 5.367 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.8101, allocations: 141.1 kB / 0.7341 GB, free: 5.234 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.8101, allocations: 25.7 kB / 0.7342 GB, free: 5.203 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.8102, allocations: 91.61 kB / 0.7342 GB, free: 5.113 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.8102, allocations: 11.39 kB / 0.7343 GB, free: 5.105 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-06/0.8103, allocations: 4 kB / 0.7343 GB, free: 5.102 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.8104, allocations: 318.7 kB / 0.7346 GB, free: 4.785 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.8105, allocations: 94.31 kB / 0.7347 GB, free: 4.703 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.8107, allocations: 98.45 kB / 0.7347 GB, free: 4.621 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.8109, allocations: 164.1 kB / 0.7349 GB, free: 4.461 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8109, allocations: 0 / 0.7349 GB, free: 4.461 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003757/0.8113, allocations: 314.1 kB / 0.7352 GB, free: 4.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.707e-05/0.8113, allocations: 74.52 kB / 0.7353 GB, free: 4.078 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.8114, allocations: 0 / 0.7353 GB, free: 4.078 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.8114, allocations: 0 / 0.7353 GB, free: 4.078 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.003e-06/0.8114, allocations: 0 / 0.7353 GB, free: 4.078 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.8114, allocations: 0 / 0.7353 GB, free: 4.078 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.893e-05/0.8115, allocations: 19.83 kB / 0.7353 GB, free: 4.059 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.8115, allocations: 4 kB / 0.7353 GB, free: 4.055 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: 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 0.000117/0.8117, allocations: 142 kB / 0.7354 GB, free: 3.906 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.8117, allocations: 11.94 kB / 0.7354 GB, free: 3.895 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.8117, allocations: 12.02 kB / 0.7355 GB, free: 3.883 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.8117, allocations: 0 / 0.7355 GB, free: 3.883 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8117, allocations: 0 / 0.7355 GB, free: 3.883 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.8117, allocations: 0 / 0.7355 GB, free: 3.883 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.8119, allocations: 176.3 kB / 0.7356 GB, free: 3.668 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.8119, allocations: 0 / 0.7356 GB, free: 3.668 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-06/0.8119, allocations: 3.984 kB / 0.7356 GB, free: 3.664 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.8119, allocations: 3.938 kB / 0.7356 GB, free: 3.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.8119, allocations: 4 kB / 0.7356 GB, free: 3.656 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8119, allocations: 0 / 0.7356 GB, free: 3.656 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.8119, allocations: 8.812 kB / 0.7356 GB, free: 3.648 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.8122, allocations: 231 kB / 0.7359 GB, free: 3.414 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.8123, allocations: 81.02 kB / 0.7359 GB, free: 3.316 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.8123, allocations: 4 kB / 0.7359 GB, free: 3.312 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.709e-05/0.8123, allocations: 4 kB / 0.7359 GB, free: 3.309 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.8124, allocations: 7.984 kB / 0.736 GB, free: 3.301 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.8124, allocations: 0 / 0.736 GB, free: 3.301 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.562e-05/0.8125, allocations: 110.2 kB / 0.7361 GB, free: 3.199 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8125, allocations: 0 / 0.7361 GB, free: 3.199 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003276/0.8128, allocations: 79.8 kB / 0.7361 GB, free: 3.125 MB / 490.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) * 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.0007341/0.8136, allocations: 0.8307 MB / 0.7369 GB, free: 2.273 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003727/0.814, allocations: 365.5 kB / 0.7373 GB, free: 1.949 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.814, allocations: 0 / 0.7373 GB, free: 1.949 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.8141, allocations: 134.2 kB / 0.7374 GB, free: 1.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001135/0.8142, allocations: 4 kB / 0.7374 GB, free: 1.816 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.8147, allocations: 230.6 kB / 0.7376 GB, free: 1.562 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.815, allocations: 0.6926 MB / 0.7383 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.703e-06/0.815, allocations: 0 / 0.7383 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.8151, allocations: 20.09 kB / 0.7383 GB, free: 0.832 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.8151, allocations: 0 / 0.7383 GB, free: 0.832 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.8301, allocations: 2.868 MB / 0.7411 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.8303, allocations: 175.4 kB / 0.7413 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.445, allocations: 0 / 0.7413 GB, free: 13.88 MB / 0.4948 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)