Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_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.001434/0.001433, allocations: 101.7 kB / 16.4 MB, free: 6.496 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.001695/0.001695, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7417/0.7417, allocations: 115.3 MB / 406.5 MB, free: 6.242 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 64.92 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1447, allocations: 76.19 MB / 0.6316 GB, free: 4.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002793/0.1475, allocations: 1.396 MB / 0.6329 GB, free: 3.547 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004434/0.148, allocations: 199.5 kB / 0.6331 GB, free: 3.352 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.1481, allocations: 0 / 0.6331 GB, free: 3.352 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.1481, allocations: 7.922 kB / 0.6331 GB, free: 3.344 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.1482, allocations: 0 / 0.6331 GB, free: 3.344 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.1484, allocations: 35.84 kB / 0.6332 GB, free: 3.309 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.421e-05/0.1485, allocations: 23.92 kB / 0.6332 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.1486, allocations: 4 kB / 0.6332 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.1486, allocations: 15.92 kB / 0.6332 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.375e-05/0.1487, allocations: 8 kB / 0.6332 GB, free: 3.258 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.1487, allocations: 0 / 0.6332 GB, free: 3.258 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1488, allocations: 31.95 kB / 0.6332 GB, free: 3.227 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.1488, allocations: 0 / 0.6332 GB, free: 3.227 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.1489, allocations: 11.94 kB / 0.6333 GB, free: 3.215 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.149, allocations: 42.66 kB / 0.6333 GB, free: 3.176 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.149, allocations: 0 / 0.6333 GB, free: 3.176 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.149, allocations: 0 / 0.6333 GB, free: 3.176 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.149, allocations: 4 kB / 0.6333 GB, free: 3.172 MB / 478.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.0004705/0.1495, allocations: 340 kB / 0.6336 GB, free: 2.789 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1496, allocations: 12.03 kB / 0.6336 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.1496, allocations: 30.75 kB / 0.6337 GB, free: 2.738 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.1497, allocations: 0.9375 kB / 0.6337 GB, free: 2.738 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.1499, allocations: 172.6 kB / 0.6338 GB, free: 2.531 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1499, allocations: 4.375 kB / 0.6338 GB, free: 2.527 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.1499, allocations: 384 / 0.6338 GB, free: 2.527 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.1501, allocations: 54.17 kB / 0.6339 GB, free: 2.469 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1501, allocations: 3.938 kB / 0.6339 GB, free: 2.465 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1501, allocations: 0 / 0.6339 GB, free: 2.465 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1501, allocations: 4 kB / 0.6339 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.1503, allocations: 31.95 kB / 0.6339 GB, free: 2.43 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.1506, allocations: 248.8 kB / 0.6342 GB, free: 2.137 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1508, allocations: 46.47 kB / 0.6342 GB, free: 2.082 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.165e-05/0.1509, allocations: 28.84 kB / 0.6342 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.1509, allocations: 0 / 0.6342 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.1509, allocations: 34.56 kB / 0.6343 GB, free: 2.008 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.1509, allocations: 0 / 0.6343 GB, free: 2.008 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003312/0.1513, allocations: 81.64 kB / 0.6343 GB, free: 1.922 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.1513, allocations: 51.41 kB / 0.6344 GB, free: 1.859 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.761e-05/0.1514, allocations: 101.8 kB / 0.6345 GB, free: 1.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.1514, allocations: 33.64 kB / 0.6345 GB, free: 1.711 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.1515, allocations: 84.27 kB / 0.6346 GB, free: 1.625 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.1515, allocations: 3.906 kB / 0.6346 GB, free: 1.621 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.1515, allocations: 13.72 kB / 0.6346 GB, free: 1.602 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1516, allocations: 318.8 kB / 0.6349 GB, free: 1.281 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-05/0.1517, allocations: 11.98 kB / 0.6349 GB, free: 1.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.088e-05/0.1518, allocations: 19.98 kB / 0.635 GB, free: 1.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.152, allocations: 40.88 kB / 0.635 GB, free: 1.207 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.152, allocations: 3.938 kB / 0.635 GB, free: 1.203 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001875/0.1522, allocations: 61.86 kB / 0.6351 GB, free: 1.137 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1522, allocations: 4 kB / 0.6351 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1522, allocations: 0 / 0.6351 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1522, allocations: 8 kB / 0.6351 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.551e-05/0.1523, allocations: 19.94 kB / 0.6351 GB, free: 1.105 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1523, allocations: 0 / 0.6351 GB, free: 1.105 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.1524, allocations: 7.984 kB / 0.6351 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.1524, allocations: 3.938 kB / 0.6351 GB, free: 1.094 MB / 478.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 6.863e-05/0.1525, allocations: 117.8 kB / 0.6352 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.1525, allocations: 0 / 0.6352 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.1527, allocations: 80.77 kB / 0.6353 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1527, allocations: 0 / 0.6353 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1528, allocations: 0 / 0.6353 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1528, allocations: 0 / 0.6353 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1529, allocations: 161.6 kB / 0.6354 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1529, allocations: 0 / 0.6354 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.826e-05/0.153, allocations: 11.98 kB / 0.6355 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.153, allocations: 3.938 kB / 0.6355 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.153, allocations: 0 / 0.6355 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.153, allocations: 0 / 0.6355 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.153, allocations: 3.938 kB / 0.6355 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.1533, allocations: 179.3 kB / 0.6356 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.1533, allocations: 77.11 kB / 0.6357 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1533, allocations: 0 / 0.6357 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.221e-05/0.1534, allocations: 11.98 kB / 0.6357 GB, free: 368 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1535, allocations: 0 / 0.6357 GB, free: 368 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.1535, allocations: 8 kB / 0.6357 GB, free: 360 kB / 478.1 MB Notification: Performance of sorting global known variables: time 3.155e-05/0.1535, allocations: 75.28 kB / 0.6358 GB, free: 284 kB / 478.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1535, allocations: 4 kB / 0.6358 GB, free: 280 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.1537, allocations: 4 kB / 0.6358 GB, free: 276 kB / 478.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.0005076/0.1542, allocations: 0.7084 MB / 0.6365 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.1545, allocations: 39.95 kB / 0.6365 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1545, allocations: 0 / 0.6365 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.16e-05/0.1546, allocations: 23.92 kB / 0.6366 GB, free: 15.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.1548, allocations: 6.031 kB / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.1553, allocations: 148.3 kB / 0.6367 GB, free: 15.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.1555, allocations: 0.6768 MB / 0.6374 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.853e-05/0.1556, allocations: 3.984 kB / 0.6374 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.1556, allocations: 11.44 kB / 0.6374 GB, free: 14.56 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1556, allocations: 0 / 0.6374 GB, free: 14.56 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.1746, allocations: 1.391 MB / 0.6387 GB, free: 13.28 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.505/7.68, allocations: 2.812 kB / 0.6387 GB, free: 13.28 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)