Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.008306/0.008306, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.989/0.989, allocations: 135.6 MB / 426.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.91 kB / 0.5857 GB, free: 3.242 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4041, allocations: 81.03 MB / 0.6649 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00202/0.4061, allocations: 1.396 MB / 0.6662 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003657/0.4065, allocations: 201.3 kB / 0.6664 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.4065, allocations: 5.406 kB / 0.6664 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.4066, allocations: 3.938 kB / 0.6664 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.643e-05/0.4066, allocations: 5.312 kB / 0.6664 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.4068, allocations: 25.61 kB / 0.6665 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6e-05/0.4069, allocations: 24.53 kB / 0.6665 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.262e-05/0.407, allocations: 7.734 kB / 0.6665 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.797e-05/0.407, allocations: 7.906 kB / 0.6665 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.743e-05/0.4071, allocations: 18.62 kB / 0.6665 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.4071, allocations: 6.688 kB / 0.6665 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-05/0.4072, allocations: 23.23 kB / 0.6665 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.4072, allocations: 1.094 kB / 0.6665 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.091e-05/0.4072, allocations: 15.17 kB / 0.6666 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.4073, allocations: 36.12 kB / 0.6666 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4073, allocations: 1.125 kB / 0.6666 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4073, allocations: 0 / 0.6666 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.4074, allocations: 0 / 0.6666 GB, free: 5.574 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003619/0.4077, allocations: 347.6 kB / 0.6669 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.4078, allocations: 13.66 kB / 0.6669 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.241e-05/0.4078, allocations: 32.03 kB / 0.667 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.863e-05/0.4079, allocations: 2.531 kB / 0.667 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.45e-05/0.408, allocations: 169.8 kB / 0.6671 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.408, allocations: 1.438 kB / 0.6671 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.408, allocations: 1.5 kB / 0.6671 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.4082, allocations: 54.41 kB / 0.6672 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4082, allocations: 3.938 kB / 0.6672 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.4082, allocations: 0 / 0.6672 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.4082, allocations: 5.188 kB / 0.6672 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.4084, allocations: 29.84 kB / 0.6672 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.4087, allocations: 250.4 kB / 0.6675 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.4089, allocations: 42.94 kB / 0.6675 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.292e-05/0.4089, allocations: 26.5 kB / 0.6675 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.409, allocations: 0 / 0.6675 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.409, allocations: 39.86 kB / 0.6676 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.409, allocations: 0 / 0.6676 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003275/0.4093, allocations: 77.22 kB / 0.6676 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.794e-05/0.4094, allocations: 63.45 kB / 0.6677 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.208e-05/0.4094, allocations: 95.36 kB / 0.6678 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.4094, allocations: 29.7 kB / 0.6678 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.159e-05/0.4094, allocations: 81.39 kB / 0.6679 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.4095, allocations: 5.109 kB / 0.6679 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.4095, allocations: 20.58 kB / 0.6679 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.4095, allocations: 314.8 kB / 0.6682 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.887e-05/0.4096, allocations: 17.73 kB / 0.6682 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.036e-05/0.4097, allocations: 17.27 kB / 0.6683 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.4098, allocations: 39.81 kB / 0.6683 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4099, allocations: 3.938 kB / 0.6683 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001757/0.41, allocations: 67.81 kB / 0.6684 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4101, allocations: 10.56 kB / 0.6684 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4101, allocations: 0 / 0.6684 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4101, allocations: 0 / 0.6684 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.4102, allocations: 10.16 kB / 0.6684 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.4102, allocations: 0 / 0.6684 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.92e-05/0.4102, allocations: 12.27 kB / 0.6684 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.4103, allocations: 1.031 kB / 0.6684 GB, free: 3.703 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 (2): * Single equations (assignments): 2 * 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 4.634e-05/0.4103, allocations: 114.9 kB / 0.6685 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.4103, allocations: 9.484 kB / 0.6685 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.4106, allocations: 76.27 kB / 0.6686 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.4106, allocations: 1.812 kB / 0.6686 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4106, allocations: 0 / 0.6686 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4106, allocations: 0 / 0.6686 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.4107, allocations: 166.2 kB / 0.6687 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.4107, allocations: 0.875 kB / 0.6687 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.949e-05/0.4108, allocations: 15.67 kB / 0.6688 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4108, allocations: 0 / 0.6688 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.4108, allocations: 1.156 kB / 0.6688 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4108, allocations: 0 / 0.6688 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4108, allocations: 0 / 0.6688 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.4111, allocations: 166.2 kB / 0.6689 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.4111, allocations: 78.45 kB / 0.669 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.4111, allocations: 4.047 kB / 0.669 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.4112, allocations: 11.69 kB / 0.669 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.4112, allocations: 5.312 kB / 0.669 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.4112, allocations: 1.312 kB / 0.669 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.019e-05/0.4113, allocations: 82.77 kB / 0.6691 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4113, allocations: 0 / 0.6691 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002142/0.4115, allocations: 8.641 kB / 0.6691 GB, free: 2.953 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0003837/0.4119, allocations: 0.703 MB / 0.6698 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.4121, allocations: 38.02 kB / 0.6698 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4121, allocations: 1.5 kB / 0.6698 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.628e-05/0.4122, allocations: 28.52 kB / 0.6699 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.4125, allocations: 6.531 kB / 0.6699 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.4128, allocations: 147.9 kB / 0.67 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.939e-05/0.4129, allocations: 0.6783 MB / 0.6707 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.462e-05/0.4129, allocations: 1.156 kB / 0.6707 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.413, allocations: 16.91 kB / 0.6707 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.413, allocations: 3.938 kB / 0.6707 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.434, allocations: 1.363 MB / 0.672 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.362, allocations: 12.16 kB / 0.672 GB, free: 0.5938 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)