Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 112.5 kB / 15.74 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 195.2 kB / 16.67 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.005/1.005, allocations: 135.1 MB / 425.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 63.89 kB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.4331, allocations: 80.92 MB / 0.6642 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002734/0.4359, allocations: 1.258 MB / 0.6654 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005346/0.4365, allocations: 235.9 kB / 0.6656 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.169e-05/0.4365, allocations: 0 / 0.6656 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.4366, allocations: 7.922 kB / 0.6656 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.43e-05/0.4366, allocations: 0 / 0.6656 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.437, allocations: 40.45 kB / 0.6657 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.25e-05/0.437, allocations: 25.2 kB / 0.6657 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.4371, allocations: 5.328 kB / 0.6657 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.406e-05/0.4371, allocations: 8.594 kB / 0.6657 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.163e-05/0.4372, allocations: 11.95 kB / 0.6657 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.4372, allocations: 1.156 kB / 0.6657 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.4373, allocations: 43.23 kB / 0.6658 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.4373, allocations: 1.094 kB / 0.6658 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.4374, allocations: 16.08 kB / 0.6658 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.4375, allocations: 33.77 kB / 0.6658 GB, free: 6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4375, allocations: 3.984 kB / 0.6658 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4375, allocations: 7.938 kB / 0.6658 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.4375, allocations: 0 / 0.6658 GB, free: 5.988 MB / 0.4981 GB 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.0003593/0.4379, allocations: 333.6 kB / 0.6661 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4379, allocations: 9.625 kB / 0.6661 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.438, allocations: 36 kB / 0.6662 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.4381, allocations: 19.03 kB / 0.6662 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.495e-05/0.4382, allocations: 161.6 kB / 0.6663 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4382, allocations: 1.625 kB / 0.6663 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.4383, allocations: 5.781 kB / 0.6664 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.4384, allocations: 46.5 kB / 0.6664 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.4384, allocations: 3.938 kB / 0.6664 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.4384, allocations: 5.156 kB / 0.6664 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.4384, allocations: 1.312 kB / 0.6664 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.199e-05/0.4385, allocations: 15.08 kB / 0.6664 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.4386, allocations: 155.5 kB / 0.6666 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.616e-05/0.4387, allocations: 45.91 kB / 0.6666 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.4387, allocations: 22.27 kB / 0.6666 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.4388, allocations: 5 kB / 0.6666 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.4388, allocations: 31.94 kB / 0.6667 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.4388, allocations: 0 / 0.6667 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001999/0.4408, allocations: 0.5 MB / 0.6672 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.4408, allocations: 52.72 kB / 0.6672 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.649e-05/0.4408, allocations: 91.36 kB / 0.6673 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.4409, allocations: 25.7 kB / 0.6673 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.123e-05/0.4409, allocations: 80.14 kB / 0.6674 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.4409, allocations: 35.48 kB / 0.6674 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.441, allocations: 19.38 kB / 0.6674 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.358e-05/0.441, allocations: 316.4 kB / 0.6678 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.6e-05/0.4411, allocations: 23.05 kB / 0.6678 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.182e-05/0.4411, allocations: 27.73 kB / 0.6678 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.705e-05/0.4412, allocations: 55.11 kB / 0.6679 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4412, allocations: 0 / 0.6679 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001357/0.4414, allocations: 100.7 kB / 0.6679 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4414, allocations: 9.75 kB / 0.668 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4414, allocations: 4 kB / 0.668 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4414, allocations: 0 / 0.668 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.4416, allocations: 15.98 kB / 0.668 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.4416, allocations: 1.219 kB / 0.668 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.4416, allocations: 1.594 kB / 0.668 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.4417, allocations: 1.219 kB / 0.668 GB, free: 3.852 MB / 0.4981 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.282e-05/0.4417, allocations: 114.2 kB / 0.6681 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.4417, allocations: 5.688 kB / 0.6681 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.4418, allocations: 23.95 kB / 0.6681 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4418, allocations: 1.469 kB / 0.6681 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4418, allocations: 4.375 kB / 0.6681 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4418, allocations: 9.297 kB / 0.6681 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.164e-05/0.4419, allocations: 171.3 kB / 0.6683 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4419, allocations: 5.219 kB / 0.6683 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.4421, allocations: 19.05 kB / 0.6683 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4421, allocations: 1.625 kB / 0.6683 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4421, allocations: 4 kB / 0.6683 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4421, allocations: 1.062 kB / 0.6683 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4421, allocations: 0 / 0.6683 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.4423, allocations: 142.5 kB / 0.6685 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.4423, allocations: 86.59 kB / 0.6685 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.4424, allocations: 1.469 kB / 0.6685 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.4425, allocations: 11.05 kB / 0.6686 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.4425, allocations: 2.406 kB / 0.6686 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.4425, allocations: 5.906 kB / 0.6686 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.24e-05/0.4425, allocations: 79.34 kB / 0.6686 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4425, allocations: 1.406 kB / 0.6686 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001947/0.4427, allocations: 8.594 kB / 0.6686 GB, free: 3.168 MB / 0.4981 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003686/0.4431, allocations: 0.6897 MB / 0.6693 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.4433, allocations: 57.58 kB / 0.6694 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4433, allocations: 5.125 kB / 0.6694 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.005e-05/0.4433, allocations: 37.64 kB / 0.6694 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.4436, allocations: 4.531 kB / 0.6694 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.4447, allocations: 1.278 MB / 0.6707 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.4448, allocations: 0.6839 MB / 0.6713 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.899e-05/0.4448, allocations: 6.594 kB / 0.6713 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.4449, allocations: 15.09 kB / 0.6714 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.4449, allocations: 0 / 0.6714 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.4632, allocations: 1.637 MB / 0.673 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.962, allocations: 9.75 kB / 0.673 GB, free: 15.69 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)