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.001133/0.001133, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001062/0.001062, allocations: 192.9 kB / 16.25 MB, free: 6.621 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.167/1.167, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8027/0.8027, allocations: 135.1 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 64.12 kB / 0.505 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1404, allocations: 80.93 MB / 0.584 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002096/0.1425, allocations: 1.461 MB / 0.5854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003482/0.1429, allocations: 199.4 kB / 0.5856 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.205e-05/0.1429, allocations: 0 / 0.5856 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.1429, allocations: 0 / 0.5856 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.783e-05/0.143, allocations: 7.922 kB / 0.5856 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.1431, allocations: 23.92 kB / 0.5856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.462e-05/0.1432, allocations: 23.92 kB / 0.5857 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.444e-05/0.1433, allocations: 11.98 kB / 0.5857 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.061e-05/0.1433, allocations: 4 kB / 0.5857 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.198e-05/0.1434, allocations: 15.92 kB / 0.5857 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1434, allocations: 0 / 0.5857 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.288e-05/0.1435, allocations: 27.98 kB / 0.5857 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.1435, allocations: 7.984 kB / 0.5857 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.846e-05/0.1435, allocations: 7.938 kB / 0.5857 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.147e-05/0.1436, allocations: 44.05 kB / 0.5858 GB, free: 2.977 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1436, allocations: 4 kB / 0.5858 GB, free: 2.973 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1436, allocations: 0 / 0.5858 GB, free: 2.973 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1436, allocations: 0 / 0.5858 GB, free: 2.973 MB / 494.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.0003734/0.144, allocations: 339.5 kB / 0.5861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.144, allocations: 12.03 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.62e-05/0.1441, allocations: 30.75 kB / 0.5861 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.741e-05/0.1442, allocations: 4.922 kB / 0.5861 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.643e-05/0.1443, allocations: 168.3 kB / 0.5863 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1443, allocations: 4.375 kB / 0.5863 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.1443, allocations: 384 / 0.5863 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.1444, allocations: 54.17 kB / 0.5864 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.1445, allocations: 3.938 kB / 0.5864 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.1445, allocations: 0 / 0.5864 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.1445, allocations: 0 / 0.5864 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.1446, allocations: 35.95 kB / 0.5864 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.1449, allocations: 252.9 kB / 0.5866 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.145, allocations: 42.42 kB / 0.5867 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.325e-05/0.1451, allocations: 24.91 kB / 0.5867 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-06/0.1451, allocations: 0 / 0.5867 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.1451, allocations: 34.56 kB / 0.5867 GB, free: 1.812 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.1451, allocations: 0 / 0.5867 GB, free: 1.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002838/0.1454, allocations: 81.64 kB / 0.5868 GB, free: 1.727 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.1455, allocations: 51.41 kB / 0.5869 GB, free: 1.664 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.788e-05/0.1455, allocations: 97.86 kB / 0.587 GB, free: 1.559 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1456, allocations: 37.62 kB / 0.587 GB, free: 1.516 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.1456, allocations: 88.2 kB / 0.5871 GB, free: 1.426 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.1456, allocations: 3.906 kB / 0.5871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.1457, allocations: 17.72 kB / 0.5871 GB, free: 1.398 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.1458, allocations: 310.8 kB / 0.5874 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.1458, allocations: 19.97 kB / 0.5874 GB, free: 1.066 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-05/0.1459, allocations: 15.98 kB / 0.5874 GB, free: 1.051 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.146, allocations: 36.89 kB / 0.5875 GB, free: 1.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1461, allocations: 3.938 kB / 0.5875 GB, free: 1.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000173/0.1462, allocations: 65.66 kB / 0.5875 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.1463, allocations: 4 kB / 0.5875 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1463, allocations: 0 / 0.5875 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1463, allocations: 4 kB / 0.5875 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.263e-05/0.1463, allocations: 11.92 kB / 0.5875 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.1464, allocations: 4.031 kB / 0.5876 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.1464, allocations: 11.98 kB / 0.5876 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1464, allocations: 3.984 kB / 0.5876 GB, free: 0.8984 MB / 494.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 5.707e-05/0.1465, allocations: 117.7 kB / 0.5877 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.1465, allocations: 4.094 kB / 0.5877 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.1468, allocations: 80.77 kB / 0.5878 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1468, allocations: 3.984 kB / 0.5878 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1468, allocations: 0 / 0.5878 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1468, allocations: 0 / 0.5878 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.1469, allocations: 161.6 kB / 0.5879 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1469, allocations: 0 / 0.5879 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.246e-05/0.147, allocations: 11.98 kB / 0.5879 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.147, allocations: 0 / 0.5879 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.147, allocations: 7.938 kB / 0.5879 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.147, allocations: 0 / 0.5879 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.147, allocations: 4 kB / 0.5879 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.1472, allocations: 167.5 kB / 0.5881 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.1473, allocations: 81.09 kB / 0.5882 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.1473, allocations: 4 kB / 0.5882 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.1474, allocations: 4 kB / 0.5882 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.1474, allocations: 3.984 kB / 0.5882 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.1474, allocations: 8 kB / 0.5882 GB, free: 156 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.988e-05/0.1475, allocations: 79.22 kB / 0.5883 GB, free: 76 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1475, allocations: 4 kB / 0.5883 GB, free: 72 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.000197/0.1477, allocations: 8 kB / 0.5883 GB, free: 64 kB / 494.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 0.0005067/0.1482, allocations: 0.7045 MB / 0.589 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.1484, allocations: 35.97 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1484, allocations: 0 / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.51e-05/0.1485, allocations: 27.91 kB / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.1487, allocations: 4 kB / 0.589 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.149, allocations: 168.2 kB / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.1493, allocations: 0.6768 MB / 0.5899 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.1493, allocations: 4 kB / 0.5899 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.1494, allocations: 11.42 kB / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1494, allocations: 0 / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.096/1.245, allocations: 1.209 MB / 0.5911 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/1.245, allocations: 211 kB / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/3.154, allocations: 0.7031 kB / 0.5913 GB, free: 13.04 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)