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.7118/0.7118, allocations: 127.3 MB / 139.8 MB, free: 15.46 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.001051/0.001051, 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.544/1.544, allocations: 205.1 MB / 404.5 MB, free: 1.645 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.0007965/0.0007964, allocations: 90.11 kB / 481.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.166e-05, allocations: 4 kB / 0.5533 GB, free: 54.72 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1492, allocations: 76.77 MB / 0.6283 GB, free: 9.895 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5618/0.7111, allocations: 103.9 MB / 0.7297 GB, free: 9.453 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.7115, allocations: 92.88 kB / 0.7298 GB, free: 9.398 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009116/0.7206, allocations: 2.971 MB / 0.7327 GB, free: 6.852 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.7207, allocations: 0 / 0.7327 GB, free: 6.852 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.7207, allocations: 0 / 0.7327 GB, free: 6.852 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.0003597/0.721, allocations: 349.4 kB / 0.733 GB, free: 6.469 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.7211, allocations: 12.02 kB / 0.7331 GB, free: 6.457 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.7212, allocations: 34.56 kB / 0.7331 GB, free: 6.414 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003497/0.7215, allocations: 27.92 kB / 0.7331 GB, free: 6.387 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.7216, allocations: 169.9 kB / 0.7333 GB, free: 6.184 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.7217, allocations: 4 kB / 0.7333 GB, free: 6.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.7217, allocations: 0 / 0.7333 GB, free: 6.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.7218, allocations: 55.78 kB / 0.7333 GB, free: 6.125 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.7219, allocations: 0 / 0.7333 GB, free: 6.125 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.7219, allocations: 4 kB / 0.7333 GB, free: 6.121 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.7219, allocations: 3.938 kB / 0.7333 GB, free: 6.117 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.532e-05/0.722, allocations: 27.67 kB / 0.7334 GB, free: 6.094 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.7221, allocations: 160.6 kB / 0.7335 GB, free: 5.895 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.7224, allocations: 55.98 kB / 0.7336 GB, free: 5.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.7224, allocations: 23.62 kB / 0.7336 GB, free: 5.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.7225, allocations: 4 kB / 0.7336 GB, free: 5.816 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.7225, allocations: 34.56 kB / 0.7336 GB, free: 5.773 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.7225, allocations: 0 / 0.7336 GB, free: 5.773 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.003042/0.7256, allocations: 0.5089 MB / 0.7341 GB, free: 5.262 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.7256, allocations: 59.34 kB / 0.7342 GB, free: 5.191 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/0.7257, allocations: 93 kB / 0.7343 GB, free: 5.094 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.7257, allocations: 25.7 kB / 0.7343 GB, free: 5.062 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.7258, allocations: 80.14 kB / 0.7344 GB, free: 4.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.7258, allocations: 23.25 kB / 0.7344 GB, free: 4.961 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.7258, allocations: 3 kB / 0.7344 GB, free: 4.961 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.7259, allocations: 318.8 kB / 0.7347 GB, free: 4.641 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.898e-05/0.726, allocations: 21.75 kB / 0.7347 GB, free: 4.629 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.434e-05/0.7261, allocations: 32.34 kB / 0.7348 GB, free: 4.609 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.174e-05/0.7262, allocations: 30.58 kB / 0.7348 GB, free: 4.586 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.7262, allocations: 3.984 kB / 0.7348 GB, free: 4.582 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002139/0.7264, allocations: 109.7 kB / 0.7349 GB, free: 4.488 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.7264, allocations: 6.812 kB / 0.7349 GB, free: 4.484 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.7264, allocations: 0 / 0.7349 GB, free: 4.484 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.7265, allocations: 7.984 kB / 0.7349 GB, free: 4.477 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.7267, allocations: 23.84 kB / 0.7349 GB, free: 4.457 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.7267, allocations: 3.938 kB / 0.7349 GB, free: 4.453 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.7268, allocations: 7.953 kB / 0.7349 GB, free: 4.445 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.7269, allocations: 11.98 kB / 0.735 GB, free: 4.434 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 (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 7.854e-05/0.727, allocations: 101 kB / 0.735 GB, free: 4.328 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.727, allocations: 7.875 kB / 0.7351 GB, free: 4.324 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.371e-05/0.7271, allocations: 11.53 kB / 0.7351 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.7271, allocations: 7.938 kB / 0.7351 GB, free: 4.312 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.7271, allocations: 0 / 0.7351 GB, free: 4.312 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.7271, allocations: 3.984 kB / 0.7351 GB, free: 4.309 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.7273, allocations: 186.6 kB / 0.7353 GB, free: 4.086 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7273, allocations: 3.938 kB / 0.7353 GB, free: 4.082 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.7275, allocations: 19.97 kB / 0.7353 GB, free: 4.062 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.7275, allocations: 0 / 0.7353 GB, free: 4.062 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.7276, allocations: 8.047 kB / 0.7353 GB, free: 4.055 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7276, allocations: 4 kB / 0.7353 GB, free: 4.051 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7276, allocations: 4 kB / 0.7353 GB, free: 4.047 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.7279, allocations: 171.7 kB / 0.7355 GB, free: 3.898 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.728, allocations: 81.02 kB / 0.7355 GB, free: 3.801 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.728, allocations: 0 / 0.7355 GB, free: 3.801 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.7282, allocations: 12.02 kB / 0.7355 GB, free: 3.789 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.7282, allocations: 7.5 kB / 0.7356 GB, free: 3.785 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.7283, allocations: 8.047 kB / 0.7356 GB, free: 3.777 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.806e-05/0.7283, allocations: 79.28 kB / 0.7356 GB, free: 3.699 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7283, allocations: 0 / 0.7356 GB, free: 3.699 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.7286, allocations: 39.62 kB / 0.7357 GB, free: 3.664 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 (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.000697/0.7293, allocations: 0.7349 MB / 0.7364 GB, free: 2.938 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.7295, allocations: 72.45 kB / 0.7365 GB, free: 2.887 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.7295, allocations: 0 / 0.7365 GB, free: 2.887 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.545e-05/0.7296, allocations: 42.28 kB / 0.7365 GB, free: 2.855 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.7297, allocations: 7.875 kB / 0.7365 GB, free: 2.852 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006405/0.7304, allocations: 156.9 kB / 0.7367 GB, free: 2.668 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.7306, allocations: 0.6848 MB / 0.7373 GB, free: 1.957 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.7309, allocations: 44.58 kB / 0.7374 GB, free: 1.914 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.934e-05/0.731, allocations: 18.42 kB / 0.7374 GB, free: 1.898 MB / 490.7 MB Notification: Performance of SimCode: time 1.923e-06/0.731, allocations: 0 / 0.7374 GB, free: 1.898 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.7463, allocations: 2.295 MB / 0.7396 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/0.7467, allocations: 213.5 kB / 0.7398 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.416, allocations: 7 kB / 0.7398 GB, free: 15.6 MB / 0.4948 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)