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.7096/0.7096, allocations: 128.7 MB / 143.7 MB, free: 2.309 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.0013/0.0013, allocations: 185.8 kB / 173.7 MB, free: 6.113 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.57/1.57, allocations: 205.4 MB / 409 MB, free: 10.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.001012/0.001012, allocations: 101 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003708, allocations: 11.19 kB / 0.5604 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1489, allocations: 76.77 MB / 0.6354 GB, free: 30.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.293, allocations: 103.6 MB / 0.7366 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.2934, allocations: 87.95 kB / 0.7366 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01016/0.3036, allocations: 3.284 MB / 0.7398 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3036, allocations: 0 / 0.7398 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.3036, allocations: 0 / 0.7398 GB, free: 3.348 MB / 0.5105 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.0004968/0.3041, allocations: 452.8 kB / 0.7403 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3042, allocations: 8.031 kB / 0.7403 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.872e-05/0.3042, allocations: 42.55 kB / 0.7403 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.3043, allocations: 15.8 kB / 0.7403 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.3044, allocations: 167.1 kB / 0.7405 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.3045, allocations: 0 / 0.7405 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.3045, allocations: 4 kB / 0.7405 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.3047, allocations: 93.64 kB / 0.7406 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3047, allocations: 3.938 kB / 0.7406 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.3047, allocations: 4 kB / 0.7406 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3047, allocations: 0 / 0.7406 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.508e-05/0.3048, allocations: 67.91 kB / 0.7407 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.3051, allocations: 181.5 kB / 0.7408 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.3052, allocations: 82.47 kB / 0.7409 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-06/0.3052, allocations: 0 / 0.7409 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3052, allocations: 34.59 kB / 0.741 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3052, allocations: 4 kB / 0.741 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0004676/0.3057, allocations: 332.4 kB / 0.7413 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.3058, allocations: 81.05 kB / 0.7414 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.3059, allocations: 135.7 kB / 0.7415 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.3059, allocations: 25.7 kB / 0.7415 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.306, allocations: 92.12 kB / 0.7416 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.306, allocations: 11.81 kB / 0.7416 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.3061, allocations: 0 / 0.7416 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3062, allocations: 330.8 kB / 0.7419 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.3063, allocations: 91.94 kB / 0.742 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.3064, allocations: 103.9 kB / 0.7421 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.3066, allocations: 163.4 kB / 0.7423 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3066, allocations: 0 / 0.7423 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003641/0.307, allocations: 308.8 kB / 0.7426 GB, free: 292 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.018e-05/0.3071, allocations: 71.39 kB / 0.7426 GB, free: 208 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3071, allocations: 0 / 0.7426 GB, free: 208 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3071, allocations: 4 kB / 0.7426 GB, free: 204 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.3071, allocations: 0 / 0.7426 GB, free: 204 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3071, allocations: 64 / 0.7426 GB, free: 204 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.442e-05/0.3072, allocations: 15.92 kB / 0.7426 GB, free: 188 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.3072, allocations: 11.94 kB / 0.7427 GB, free: 176 kB / 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 () * 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.0001276/0.3074, allocations: 155.5 kB / 0.7428 GB, free: 4 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3061/0.6135, allocations: 4.953 kB / 0.7428 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.509e-05/0.6136, allocations: 5.906 kB / 0.7428 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.6136, allocations: 1.344 kB / 0.7428 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.6136, allocations: 0 / 0.7428 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6136, allocations: 0 / 0.7428 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.6138, allocations: 176 kB / 0.743 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6138, allocations: 0 / 0.743 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-06/0.6138, allocations: 0.6875 kB / 0.743 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.6138, allocations: 1.406 kB / 0.743 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.6139, allocations: 3.156 kB / 0.743 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.6139, allocations: 1.953 kB / 0.743 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6139, allocations: 0.6562 kB / 0.743 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.6143, allocations: 228.2 kB / 0.7432 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.6143, allocations: 83.78 kB / 0.7433 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.6143, allocations: 8.094 kB / 0.7433 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.353e-05/0.6144, allocations: 5.406 kB / 0.7433 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/0.6145, allocations: 15.17 kB / 0.7433 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.6145, allocations: 6.469 kB / 0.7433 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.285e-05/0.6146, allocations: 107.6 kB / 0.7434 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6146, allocations: 0 / 0.7434 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004534/0.6151, allocations: 72.94 kB / 0.7435 GB, free: 108.3 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) * 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.0006461/0.6157, allocations: 0.825 MB / 0.7443 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004115/0.6162, allocations: 369.4 kB / 0.7447 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6162, allocations: 1.938 kB / 0.7447 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.6163, allocations: 136 kB / 0.7448 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.6164, allocations: 3.688 kB / 0.7448 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005634/0.617, allocations: 452.6 kB / 0.7452 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.6171, allocations: 0.6966 MB / 0.7459 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.661e-06/0.6171, allocations: 3.75 kB / 0.7459 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.6172, allocations: 20.75 kB / 0.7459 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.6172, allocations: 0 / 0.7459 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.6317, allocations: 2.828 MB / 0.7487 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/0.6319, allocations: 187.8 kB / 0.7489 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/2.253, allocations: 2.953 kB / 0.7489 GB, free: 106.1 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)