Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009248/0.0009248, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006838/0.006838, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7575/0.7575, allocations: 132.4 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003363, allocations: 8 kB / 0.504 GB, free: 3.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5254/0.5258, allocations: 81.58 MB / 0.5837 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001537/0.5274, allocations: 1.133 MB / 0.5848 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000493/0.5279, allocations: 202.2 kB / 0.585 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.383e-05/0.5279, allocations: 2.031 kB / 0.585 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.5279, allocations: 5.859 kB / 0.585 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.666e-05/0.528, allocations: 0.75 kB / 0.585 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.5282, allocations: 22.03 kB / 0.585 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.402e-05/0.5283, allocations: 28.59 kB / 0.585 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.5284, allocations: 4.484 kB / 0.585 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.456e-05/0.5284, allocations: 5.969 kB / 0.585 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.5285, allocations: 18.14 kB / 0.585 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.5285, allocations: 0.75 kB / 0.585 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-05/0.5286, allocations: 29.17 kB / 0.5851 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.5286, allocations: 1.922 kB / 0.5851 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.5286, allocations: 37.44 kB / 0.5851 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.5288, allocations: 31.73 kB / 0.5851 GB, free: 3.016 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5288, allocations: 1.688 kB / 0.5851 GB, free: 3.016 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5288, allocations: 0 / 0.5851 GB, free: 3.016 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.5288, allocations: 0.875 kB / 0.5851 GB, free: 3.016 MB / 430.1 MB 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.0003879/0.5292, allocations: 344.2 kB / 0.5855 GB, free: 2.656 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.5292, allocations: 10.16 kB / 0.5855 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.5293, allocations: 8.297 kB / 0.5855 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.462e-05/0.5294, allocations: 171.1 kB / 0.5857 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-06/0.5295, allocations: 5.031 kB / 0.5857 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.5295, allocations: 1.75 kB / 0.5857 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.5297, allocations: 55.02 kB / 0.5857 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5297, allocations: 192 / 0.5857 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.5297, allocations: 3.938 kB / 0.5857 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5297, allocations: 0.875 kB / 0.5857 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.5299, allocations: 50.64 kB / 0.5858 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.5302, allocations: 246.8 kB / 0.586 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.5303, allocations: 54.17 kB / 0.5861 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.5305, allocations: 29.55 kB / 0.5861 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.5305, allocations: 0 / 0.5861 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.5305, allocations: 35.12 kB / 0.5861 GB, free: 2.027 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.5305, allocations: 0.9688 kB / 0.5861 GB, free: 2.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003772/0.5309, allocations: 98.38 kB / 0.5862 GB, free: 1.984 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.5309, allocations: 52.84 kB / 0.5863 GB, free: 1.922 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.039e-05/0.531, allocations: 105.2 kB / 0.5864 GB, free: 1.816 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.531, allocations: 25.7 kB / 0.5864 GB, free: 1.785 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.564e-05/0.531, allocations: 81.7 kB / 0.5865 GB, free: 1.703 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.5311, allocations: 9.953 kB / 0.5865 GB, free: 1.695 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/0.5311, allocations: 10.78 kB / 0.5865 GB, free: 1.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.219e-05/0.5311, allocations: 313 kB / 0.5868 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.419e-05/0.5312, allocations: 26.34 kB / 0.5868 GB, free: 1.359 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-05/0.5313, allocations: 23.89 kB / 0.5868 GB, free: 1.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.5315, allocations: 51.31 kB / 0.5869 GB, free: 1.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5315, allocations: 0 / 0.5869 GB, free: 1.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000211/0.5317, allocations: 85.08 kB / 0.587 GB, free: 1.293 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.5318, allocations: 9.938 kB / 0.587 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5318, allocations: 0.7969 kB / 0.587 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.5318, allocations: 4.031 kB / 0.587 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/0.5319, allocations: 12.06 kB / 0.587 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.5319, allocations: 0.7969 kB / 0.587 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.542e-05/0.532, allocations: 11.41 kB / 0.587 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.532, allocations: 0.9688 kB / 0.587 GB, free: 1.281 MB / 430.1 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 () * 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.425e-05/0.532, allocations: 112 kB / 0.5871 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.532, allocations: 2.312 kB / 0.5871 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.5323, allocations: 88.25 kB / 0.5872 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.5323, allocations: 4.812 kB / 0.5872 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5323, allocations: 0.875 kB / 0.5872 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5323, allocations: 0.6094 kB / 0.5872 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.5325, allocations: 168.7 kB / 0.5874 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5325, allocations: 4.562 kB / 0.5874 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.5326, allocations: 13.12 kB / 0.5874 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5326, allocations: 0 / 0.5874 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.5326, allocations: 4.75 kB / 0.5874 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.5326, allocations: 1.5 kB / 0.5874 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5326, allocations: 0.5938 kB / 0.5874 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.5328, allocations: 180 kB / 0.5876 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.5329, allocations: 79.14 kB / 0.5876 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.5329, allocations: 1.125 kB / 0.5876 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.301e-05/0.533, allocations: 8.359 kB / 0.5876 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.533, allocations: 7.172 kB / 0.5876 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.533, allocations: 0.6562 kB / 0.5876 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.422e-05/0.533, allocations: 84.81 kB / 0.5877 GB, free: 0.582 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.533, allocations: 0 / 0.5877 GB, free: 0.582 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.5333, allocations: 8.344 kB / 0.5877 GB, free: 0.5781 MB / 430.1 MB 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 9.242e-05/0.5334, allocations: 96.53 kB / 0.5878 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.5336, allocations: 50.03 kB / 0.5879 GB, free: 496 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5336, allocations: 3.938 kB / 0.5879 GB, free: 492 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.5337, allocations: 27.38 kB / 0.5879 GB, free: 488 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.534, allocations: 6.859 kB / 0.5879 GB, free: 484 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.5343, allocations: 141 kB / 0.588 GB, free: 348 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.5345, allocations: 0.6765 MB / 0.5887 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.009e-05/0.5345, allocations: 2.891 kB / 0.5887 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.5346, allocations: 9.453 kB / 0.5887 GB, free: 15.64 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5346, allocations: 4 kB / 0.5887 GB, free: 15.63 MB / 446.1 MB Notification: Performance of Templates: time 0.002482/0.537, allocations: 427.7 kB / 0.5891 GB, free: 15.57 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)