Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.7161/0.7161, allocations: 127.3 MB / 139.8 MB, free: 15.47 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.001192/0.001192, allocations: 188.7 kB / 169.7 MB, free: 1.754 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.594/1.594, allocations: 205.1 MB / 404.5 MB, free: 1.605 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.0008199/0.00082, allocations: 90.55 kB / 481.8 MB, free: 4.254 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.517e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1763, allocations: 76.76 MB / 0.6283 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5316/0.7079, allocations: 102.8 MB / 0.7287 GB, free: 10.56 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.7082, allocations: 86.69 kB / 0.7288 GB, free: 10.51 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005324/0.7136, allocations: 1.932 MB / 0.7306 GB, free: 8.867 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.7136, allocations: 0 / 0.7306 GB, free: 8.867 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.7136, allocations: 0 / 0.7306 GB, free: 8.867 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.0003447/0.714, allocations: 337.5 kB / 0.731 GB, free: 8.496 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.714, allocations: 8.031 kB / 0.731 GB, free: 8.488 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.554e-05/0.7141, allocations: 38.5 kB / 0.731 GB, free: 8.441 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.7142, allocations: 11.94 kB / 0.731 GB, free: 8.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.7144, allocations: 159.1 kB / 0.7312 GB, free: 8.234 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.7144, allocations: 7.75 kB / 0.7312 GB, free: 8.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.7144, allocations: 0 / 0.7312 GB, free: 8.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.7145, allocations: 45 kB / 0.7312 GB, free: 8.184 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.7146, allocations: 4 kB / 0.7312 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.7146, allocations: 3.812 kB / 0.7312 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.7146, allocations: 3.938 kB / 0.7312 GB, free: 8.176 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.08e-05/0.7147, allocations: 15.89 kB / 0.7312 GB, free: 8.164 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.7148, allocations: 153.4 kB / 0.7314 GB, free: 7.969 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.718e-05/0.715, allocations: 52.02 kB / 0.7314 GB, free: 7.918 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.906e-05/0.715, allocations: 20.3 kB / 0.7315 GB, free: 7.898 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.715, allocations: 0 / 0.7315 GB, free: 7.898 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.715, allocations: 37.25 kB / 0.7315 GB, free: 7.855 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.7151, allocations: 0 / 0.7315 GB, free: 7.855 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.00192/0.717, allocations: 490.1 kB / 0.732 GB, free: 7.371 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.717, allocations: 55.36 kB / 0.732 GB, free: 7.305 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.399e-05/0.7171, allocations: 85 kB / 0.7321 GB, free: 7.215 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.7171, allocations: 28.95 kB / 0.7321 GB, free: 7.184 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.7172, allocations: 80.14 kB / 0.7322 GB, free: 7.102 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.7172, allocations: 34.16 kB / 0.7322 GB, free: 7.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.7172, allocations: 0 / 0.7322 GB, free: 7.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.7174, allocations: 321.8 kB / 0.7325 GB, free: 6.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-05/0.7174, allocations: 25.56 kB / 0.7326 GB, free: 6.734 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.7175, allocations: 18.94 kB / 0.7326 GB, free: 6.723 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.606e-05/0.7175, allocations: 25.23 kB / 0.7326 GB, free: 6.707 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.7175, allocations: 0 / 0.7326 GB, free: 6.707 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001413/0.7177, allocations: 93.59 kB / 0.7327 GB, free: 6.629 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.7177, allocations: 6.812 kB / 0.7327 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.7177, allocations: 0 / 0.7327 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.7177, allocations: 4 kB / 0.7327 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.7179, allocations: 16 kB / 0.7327 GB, free: 6.605 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.7179, allocations: 4.266 kB / 0.7327 GB, free: 6.602 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.366e-05/0.718, allocations: 7.938 kB / 0.7327 GB, free: 6.594 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.718, allocations: 4.25 kB / 0.7327 GB, free: 6.59 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 8.525e-05/0.7181, allocations: 108.4 kB / 0.7328 GB, free: 6.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.7181, allocations: 3.938 kB / 0.7328 GB, free: 6.477 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.953e-05/0.7182, allocations: 18.84 kB / 0.7329 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.7182, allocations: 4 kB / 0.7329 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.7182, allocations: 0 / 0.7329 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.7182, allocations: 4 kB / 0.7329 GB, free: 6.465 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.7183, allocations: 179.2 kB / 0.733 GB, free: 6.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.7183, allocations: 0 / 0.733 GB, free: 6.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.7185, allocations: 14.94 kB / 0.7331 GB, free: 6.238 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.7185, allocations: 7.984 kB / 0.7331 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.7185, allocations: 0 / 0.7331 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7185, allocations: 0 / 0.7331 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7185, allocations: 0 / 0.7331 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.7188, allocations: 145.5 kB / 0.7332 GB, free: 6.102 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.7188, allocations: 85.08 kB / 0.7333 GB, free: 6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.7188, allocations: 3.984 kB / 0.7333 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.769e-05/0.7189, allocations: 6.719 kB / 0.7333 GB, free: 5.992 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.719, allocations: 4 kB / 0.7333 GB, free: 5.988 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.719, allocations: 4 kB / 0.7333 GB, free: 5.984 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.063e-05/0.719, allocations: 75.28 kB / 0.7334 GB, free: 5.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.719, allocations: 0 / 0.7334 GB, free: 5.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001745/0.7192, allocations: 10.81 kB / 0.7334 GB, free: 5.902 MB / 490.7 MB 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 () * 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.000558/0.7198, allocations: 0.6949 MB / 0.7341 GB, free: 5.215 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.72, allocations: 55.48 kB / 0.7341 GB, free: 5.176 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.72, allocations: 0 / 0.7341 GB, free: 5.176 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.584e-05/0.72, allocations: 34.88 kB / 0.7341 GB, free: 5.152 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.7202, allocations: 0.875 kB / 0.7341 GB, free: 5.152 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.7208, allocations: 160.2 kB / 0.7343 GB, free: 4.977 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.721, allocations: 0.6809 MB / 0.735 GB, free: 4.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.709e-05/0.7211, allocations: 12.12 kB / 0.735 GB, free: 4.254 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.7212, allocations: 7.438 kB / 0.735 GB, free: 4.246 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7212, allocations: 0 / 0.735 GB, free: 4.246 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/0.7348, allocations: 1.416 MB / 0.7364 GB, free: 3.051 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.735, allocations: 218.5 kB / 0.7366 GB, free: 2.824 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.329, allocations: 0 / 0.7366 GB, free: 2.824 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)