Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7349/0.7349, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.3 MB / 400.4 MB, free: 5.809 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009113/0.0009112, allocations: 102.8 kB / 483.3 MB, free: 5.816 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.092e-05/5.135e-05, allocations: 7.672 kB / 0.5602 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1665, allocations: 82.3 MB / 0.6405 GB, free: 7.691 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7099/0.8765, allocations: 112.5 MB / 0.7504 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003987/0.877, allocations: 88.52 kB / 0.7505 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01508/0.8921, allocations: 2.879 MB / 0.7533 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.156e-06/0.8921, allocations: 0 / 0.7533 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.413e-06/0.8922, allocations: 0 / 0.7533 GB, free: 27.45 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.0004536/0.8926, allocations: 350.5 kB / 0.7536 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.8927, allocations: 15.53 kB / 0.7537 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.8928, allocations: 34.25 kB / 0.7537 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005863/0.8934, allocations: 30.75 kB / 0.7537 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.8935, allocations: 163 kB / 0.7539 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.8936, allocations: 7.75 kB / 0.7539 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.8936, allocations: 6.516 kB / 0.7539 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.8938, allocations: 52.81 kB / 0.7539 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.8938, allocations: 0 / 0.7539 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.8939, allocations: 4 kB / 0.7539 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.8939, allocations: 0 / 0.7539 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.894, allocations: 17.48 kB / 0.754 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.8943, allocations: 174.1 kB / 0.7541 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.8946, allocations: 60.72 kB / 0.7542 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.8947, allocations: 20.39 kB / 0.7542 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.8947, allocations: 4 kB / 0.7542 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.8948, allocations: 36.78 kB / 0.7542 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 2.034e-06/0.8948, allocations: 0 / 0.7542 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.004964/0.8997, allocations: 0.5147 MB / 0.7547 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.8998, allocations: 51.41 kB / 0.7548 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.8999, allocations: 95.48 kB / 0.7549 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.9, allocations: 29.14 kB / 0.7549 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.9, allocations: 80.14 kB / 0.755 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.176e-05/0.9001, allocations: 23.25 kB / 0.755 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/0.9001, allocations: 0 / 0.755 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.9003, allocations: 316.8 kB / 0.7553 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.9004, allocations: 28.73 kB / 0.7553 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.9005, allocations: 32.33 kB / 0.7554 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.9007, allocations: 34.19 kB / 0.7554 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.9007, allocations: 0 / 0.7554 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003511/0.9011, allocations: 102.8 kB / 0.7555 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.9011, allocations: 3.844 kB / 0.7555 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.9011, allocations: 0 / 0.7555 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.9011, allocations: 2.719 kB / 0.7555 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.9015, allocations: 23.48 kB / 0.7555 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.9015, allocations: 0 / 0.7555 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.9018, allocations: 6.438 kB / 0.7555 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.9018, allocations: 14.02 kB / 0.7556 GB, free: 25.61 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 () * 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 0.0001253/0.902, allocations: 108.9 kB / 0.7557 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.902, allocations: 7.781 kB / 0.7557 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.9021, allocations: 11.53 kB / 0.7557 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.9022, allocations: 7.812 kB / 0.7557 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.9022, allocations: 0 / 0.7557 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.9022, allocations: 0 / 0.7557 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.9024, allocations: 196.2 kB / 0.7559 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.9024, allocations: 0 / 0.7559 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/0.9028, allocations: 29.3 kB / 0.7559 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.9029, allocations: 0 / 0.7559 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.9029, allocations: 5.297 kB / 0.7559 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.9029, allocations: 2.156 kB / 0.7559 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.9029, allocations: 4 kB / 0.7559 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.9035, allocations: 169.2 kB / 0.7561 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.9035, allocations: 77.11 kB / 0.7561 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.9036, allocations: 0 / 0.7561 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.9039, allocations: 16.31 kB / 0.7562 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.9039, allocations: 3.844 kB / 0.7562 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.9039, allocations: 12.66 kB / 0.7562 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.028e-05/0.904, allocations: 79.12 kB / 0.7562 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.9e-07/0.904, allocations: 0 / 0.7562 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000454/0.9045, allocations: 30.94 kB / 0.7563 GB, free: 25.02 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 () * 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.001111/0.9056, allocations: 0.749 MB / 0.757 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002663/0.9059, allocations: 69.67 kB / 0.7571 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.9059, allocations: 0 / 0.7571 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.906, allocations: 37.62 kB / 0.7571 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.9063, allocations: 6.594 kB / 0.7571 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.9074, allocations: 165.2 kB / 0.7573 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.9079, allocations: 0.6858 MB / 0.7579 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000514/0.9084, allocations: 30.11 kB / 0.758 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.9085, allocations: 21.03 kB / 0.758 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/0.9086, allocations: 0 / 0.758 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.927, allocations: 2.245 MB / 0.7602 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/0.9273, allocations: 199.4 kB / 0.7604 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.528, allocations: 0 / 0.7604 GB, free: 22.75 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)