Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.7421/0.7421, allocations: 128.7 MB / 143.7 MB, free: 2.324 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.001422/0.001422, allocations: 186.2 kB / 173.7 MB, free: 6.137 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.865/1.865, 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.0009734/0.0009733, allocations: 89.19 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003346, allocations: 8.75 kB / 0.5605 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1674, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.3056, allocations: 104 MB / 0.737 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.3059, allocations: 95.92 kB / 0.737 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.009016/0.3149, allocations: 2.971 MB / 0.74 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.326e-06/0.315, allocations: 0 / 0.74 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.315, allocations: 0 / 0.74 GB, free: 3.266 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.0005552/0.3156, allocations: 363.3 kB / 0.7403 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/0.3157, allocations: 8.031 kB / 0.7403 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.486e-05/0.3157, allocations: 30.56 kB / 0.7403 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004244/0.3162, allocations: 35.81 kB / 0.7404 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.3164, allocations: 171 kB / 0.7405 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3164, allocations: 4 kB / 0.7405 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.3164, allocations: 0 / 0.7405 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.3166, allocations: 61.59 kB / 0.7406 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3166, allocations: 0 / 0.7406 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.3167, allocations: 0 / 0.7406 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3167, allocations: 0 / 0.7406 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.3168, allocations: 35.92 kB / 0.7406 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002363/0.3171, allocations: 169.6 kB / 0.7408 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.3174, allocations: 66.47 kB / 0.7409 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.3175, allocations: 0 / 0.7409 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.3175, allocations: 34.56 kB / 0.7409 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3175, allocations: 0 / 0.7409 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.003791/0.3213, allocations: 0.5838 MB / 0.7415 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.3214, allocations: 55.36 kB / 0.7415 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.735e-05/0.3214, allocations: 92.98 kB / 0.7416 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.3215, allocations: 29.7 kB / 0.7416 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.3215, allocations: 84.14 kB / 0.7417 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.3216, allocations: 19.64 kB / 0.7417 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.3216, allocations: 8 kB / 0.7417 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3217, allocations: 314.8 kB / 0.742 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.3218, allocations: 36.09 kB / 0.7421 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.3219, allocations: 39.97 kB / 0.7421 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.3221, allocations: 39.92 kB / 0.7421 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3221, allocations: 0 / 0.7421 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003312/0.3224, allocations: 125.6 kB / 0.7423 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3225, allocations: 4 kB / 0.7423 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3225, allocations: 0 / 0.7423 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3225, allocations: 0 / 0.7423 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.3227, allocations: 23.97 kB / 0.7423 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3227, allocations: 0 / 0.7423 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.3229, allocations: 11.94 kB / 0.7423 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.3229, allocations: 11.98 kB / 0.7423 GB, free: 0.5781 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.324e-05/0.323, allocations: 113.8 kB / 0.7424 GB, free: 468 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.3231, allocations: 7.906 kB / 0.7424 GB, free: 460 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.62e-05/0.3232, allocations: 15.91 kB / 0.7424 GB, free: 440 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.3232, allocations: 4 kB / 0.7424 GB, free: 436 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3232, allocations: 0 / 0.7424 GB, free: 436 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3232, allocations: 0 / 0.7424 GB, free: 436 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.3234, allocations: 196.7 kB / 0.7426 GB, free: 188 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3234, allocations: 0 / 0.7426 GB, free: 188 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.3236, allocations: 19.97 kB / 0.7427 GB, free: 168 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3236, allocations: 7.922 kB / 0.7427 GB, free: 160 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.3237, allocations: 4 kB / 0.7427 GB, free: 156 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3237, allocations: 4.062 kB / 0.7427 GB, free: 152 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3237, allocations: 4 kB / 0.7427 GB, free: 148 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3228/0.6465, allocations: 192.8 kB / 0.7429 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.6466, allocations: 79.89 kB / 0.7429 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.6466, allocations: 4.531 kB / 0.7429 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.6469, allocations: 13.92 kB / 0.743 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.6469, allocations: 2.406 kB / 0.743 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.6469, allocations: 8.453 kB / 0.743 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.966e-05/0.647, allocations: 78.56 kB / 0.743 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/0.647, allocations: 0 / 0.743 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003575/0.6474, allocations: 36.03 kB / 0.7431 GB, free: 109.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0008653/0.6482, allocations: 0.7671 MB / 0.7438 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003528/0.6486, allocations: 91.22 kB / 0.7439 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6486, allocations: 3.844 kB / 0.7439 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.6488, allocations: 47.23 kB / 0.744 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.6489, allocations: 5.719 kB / 0.744 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.6503, allocations: 0.5269 MB / 0.7445 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.6504, allocations: 0.6854 MB / 0.7451 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002367/0.6507, allocations: 26.22 kB / 0.7452 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.185e-05/0.6508, allocations: 26.56 kB / 0.7452 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.423e-06/0.6508, allocations: 0 / 0.7452 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.6646, allocations: 2.29 MB / 0.7474 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.6648, allocations: 240.7 kB / 0.7477 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/2.18, allocations: 4.188 kB / 0.7477 GB, free: 107.1 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)