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.00677/0.00677, allocations: 100.6 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.001558/0.001558, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9339/0.9339, allocations: 135.1 MB / 425.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 59.89 kB / 0.5851 GB, free: 3.887 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4581/0.4594, allocations: 80.91 MB / 0.6641 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002431/0.4619, allocations: 1.412 MB / 0.6655 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004618/0.4624, allocations: 202.7 kB / 0.6657 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.4624, allocations: 0 / 0.6657 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.4625, allocations: 0 / 0.6657 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.08e-05/0.4625, allocations: 5.375 kB / 0.6657 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.4627, allocations: 29.42 kB / 0.6657 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.364e-05/0.4628, allocations: 18.28 kB / 0.6658 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.854e-05/0.4629, allocations: 14.52 kB / 0.6658 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.363e-05/0.463, allocations: 3.75 kB / 0.6658 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.463, allocations: 19.56 kB / 0.6658 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.463, allocations: 1.469 kB / 0.6658 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.212e-05/0.4631, allocations: 28.55 kB / 0.6658 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.4631, allocations: 4 kB / 0.6658 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.4632, allocations: 10.7 kB / 0.6658 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.4633, allocations: 40.14 kB / 0.6659 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4633, allocations: 3.938 kB / 0.6659 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4633, allocations: 0 / 0.6659 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.4633, allocations: 1.5 kB / 0.6659 GB, free: 5.918 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.0004002/0.4637, allocations: 345.3 kB / 0.6662 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4638, allocations: 9.375 kB / 0.6662 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.588e-05/0.4638, allocations: 31.81 kB / 0.6663 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.4639, allocations: 7.625 kB / 0.6663 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.348e-05/0.464, allocations: 165.9 kB / 0.6664 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.4641, allocations: 5.688 kB / 0.6664 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.4641, allocations: 1.844 kB / 0.6664 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.4642, allocations: 48.86 kB / 0.6665 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.4642, allocations: 3.938 kB / 0.6665 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.4643, allocations: 0 / 0.6665 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4643, allocations: 1.312 kB / 0.6665 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.4644, allocations: 34.47 kB / 0.6665 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.4647, allocations: 253.3 kB / 0.6668 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.4649, allocations: 34.78 kB / 0.6668 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.946e-05/0.4649, allocations: 23.78 kB / 0.6668 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.465, allocations: 3.984 kB / 0.6668 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.465, allocations: 40.05 kB / 0.6669 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.051e-06/0.465, allocations: 0 / 0.6669 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003388/0.4653, allocations: 84.58 kB / 0.6669 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.4654, allocations: 51.41 kB / 0.667 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.953e-05/0.4654, allocations: 99.08 kB / 0.6671 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.4655, allocations: 25.7 kB / 0.6671 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.4655, allocations: 85.52 kB / 0.6672 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.4655, allocations: 4.969 kB / 0.6672 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.4656, allocations: 20.3 kB / 0.6672 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.301e-05/0.4656, allocations: 312 kB / 0.6675 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/0.4657, allocations: 16.45 kB / 0.6675 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.36e-05/0.4658, allocations: 13.33 kB / 0.6675 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.4659, allocations: 48.03 kB / 0.6676 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4659, allocations: 3.938 kB / 0.6676 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000167/0.4661, allocations: 68.09 kB / 0.6676 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4661, allocations: 6.594 kB / 0.6677 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4661, allocations: 0 / 0.6677 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.4662, allocations: 0 / 0.6677 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.479e-05/0.4662, allocations: 14.05 kB / 0.6677 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4663, allocations: 5.406 kB / 0.6677 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.877e-05/0.4663, allocations: 10.97 kB / 0.6677 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.4663, allocations: 1.406 kB / 0.6677 GB, free: 4.051 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 5.249e-05/0.4664, allocations: 112.6 kB / 0.6678 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.4664, allocations: 5.172 kB / 0.6678 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.4666, allocations: 80.44 kB / 0.6679 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4666, allocations: 0 / 0.6679 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4666, allocations: 5.531 kB / 0.6679 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4666, allocations: 0 / 0.6679 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.4668, allocations: 162 kB / 0.668 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4668, allocations: 1.375 kB / 0.668 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.4668, allocations: 10.61 kB / 0.668 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4668, allocations: 1.344 kB / 0.668 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.4669, allocations: 4 kB / 0.6681 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4669, allocations: 0 / 0.6681 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4669, allocations: 5.094 kB / 0.6681 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.4671, allocations: 169.4 kB / 0.6682 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.4671, allocations: 86.3 kB / 0.6683 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.4671, allocations: 0 / 0.6683 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.4672, allocations: 8.609 kB / 0.6683 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.4672, allocations: 1.438 kB / 0.6683 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.4672, allocations: 4 kB / 0.6683 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.979e-05/0.4673, allocations: 82.73 kB / 0.6684 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4673, allocations: 0 / 0.6684 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000208/0.4675, allocations: 9.5 kB / 0.6684 GB, free: 3.297 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.0003371/0.4678, allocations: 0.6966 MB / 0.6691 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.468, allocations: 42.73 kB / 0.6691 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.468, allocations: 0 / 0.6691 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.4681, allocations: 24.61 kB / 0.6691 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.4684, allocations: 6.609 kB / 0.6692 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.4688, allocations: 154.5 kB / 0.6693 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.4689, allocations: 0.6772 MB / 0.67 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.469, allocations: 2.781 kB / 0.67 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.469, allocations: 12.59 kB / 0.67 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of SimCode: time 8.01e-07/0.469, allocations: 0 / 0.67 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.484, allocations: 1.368 MB / 0.6713 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.351/7.835, allocations: 9.844 kB / 0.6713 GB, free: 0.9414 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)