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.001111/0.001111, allocations: 105.2 kB / 16.4 MB, free: 6.438 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.0009592/0.0009592, allocations: 193.2 kB / 17.34 MB, free: 5.707 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.593/1.593, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.281/1.281, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 65.61 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2077, allocations: 76.18 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003135/0.2109, allocations: 1.389 MB / 0.6329 GB, free: 3.52 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005743/0.2115, allocations: 207.3 kB / 0.6331 GB, free: 3.316 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.2116, allocations: 0 / 0.6331 GB, free: 3.316 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.2116, allocations: 3.984 kB / 0.6331 GB, free: 3.312 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.497e-05/0.2117, allocations: 7.938 kB / 0.6331 GB, free: 3.305 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.2119, allocations: 27.91 kB / 0.6332 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.795e-05/0.212, allocations: 19.92 kB / 0.6332 GB, free: 3.258 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2121, allocations: 12 kB / 0.6332 GB, free: 3.246 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.713e-05/0.2122, allocations: 11.92 kB / 0.6332 GB, free: 3.234 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.114e-05/0.2122, allocations: 8 kB / 0.6332 GB, free: 3.227 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.2123, allocations: 0 / 0.6332 GB, free: 3.227 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-05/0.2124, allocations: 27.97 kB / 0.6332 GB, free: 3.199 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.2124, allocations: 8 kB / 0.6333 GB, free: 3.191 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.2124, allocations: 7.922 kB / 0.6333 GB, free: 3.184 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.2126, allocations: 38.72 kB / 0.6333 GB, free: 3.148 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2126, allocations: 0 / 0.6333 GB, free: 3.148 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2126, allocations: 0 / 0.6333 GB, free: 3.148 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.2126, allocations: 0 / 0.6333 GB, free: 3.148 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.0005056/0.2131, allocations: 344 kB / 0.6336 GB, free: 2.762 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2132, allocations: 12.02 kB / 0.6336 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.2132, allocations: 34.69 kB / 0.6337 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.2134, allocations: 4.938 kB / 0.6337 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.2135, allocations: 164.6 kB / 0.6338 GB, free: 2.504 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.2135, allocations: 384 / 0.6338 GB, free: 2.504 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.2136, allocations: 4.375 kB / 0.6338 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.2137, allocations: 54.23 kB / 0.6339 GB, free: 2.441 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.2138, allocations: 3.938 kB / 0.6339 GB, free: 2.438 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.2138, allocations: 0 / 0.6339 GB, free: 2.438 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2138, allocations: 0 / 0.6339 GB, free: 2.438 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.214, allocations: 35.95 kB / 0.6339 GB, free: 2.402 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.2144, allocations: 256.7 kB / 0.6342 GB, free: 2.102 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.2145, allocations: 42.53 kB / 0.6342 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.071e-05/0.2146, allocations: 20.91 kB / 0.6342 GB, free: 2.027 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.2146, allocations: 0 / 0.6342 GB, free: 2.027 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.2147, allocations: 34.56 kB / 0.6343 GB, free: 1.984 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2147, allocations: 0 / 0.6343 GB, free: 1.984 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003671/0.2151, allocations: 85.58 kB / 0.6343 GB, free: 1.895 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.2151, allocations: 55.41 kB / 0.6344 GB, free: 1.828 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.2152, allocations: 101.8 kB / 0.6345 GB, free: 1.719 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.2153, allocations: 29.64 kB / 0.6345 GB, free: 1.684 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.2153, allocations: 80.14 kB / 0.6346 GB, free: 1.602 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.2153, allocations: 11.89 kB / 0.6346 GB, free: 1.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.2154, allocations: 13.72 kB / 0.6346 GB, free: 1.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.2155, allocations: 319 kB / 0.6349 GB, free: 1.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.802e-05/0.2156, allocations: 19.98 kB / 0.6349 GB, free: 1.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.626e-05/0.2157, allocations: 11.98 kB / 0.635 GB, free: 1.219 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.2158, allocations: 36.83 kB / 0.635 GB, free: 1.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2159, allocations: 3.938 kB / 0.635 GB, free: 1.176 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002083/0.2161, allocations: 69.66 kB / 0.6351 GB, free: 1.102 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2161, allocations: 8 kB / 0.6351 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2161, allocations: 0 / 0.6351 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2161, allocations: 0 / 0.6351 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.894e-05/0.2162, allocations: 11.98 kB / 0.6351 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2163, allocations: 0 / 0.6351 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.506e-05/0.2163, allocations: 7.984 kB / 0.6351 GB, free: 1.074 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.2163, allocations: 8.031 kB / 0.6351 GB, free: 1.066 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 0.0001362/0.2165, allocations: 109.8 kB / 0.6352 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.2165, allocations: 4 kB / 0.6352 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.2168, allocations: 76.89 kB / 0.6353 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2168, allocations: 4 kB / 0.6353 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2168, allocations: 48 / 0.6353 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.2168, allocations: 3.984 kB / 0.6353 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.217, allocations: 161.6 kB / 0.6354 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.217, allocations: 4 kB / 0.6354 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.912e-05/0.2171, allocations: 11.98 kB / 0.6355 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.2171, allocations: 0 / 0.6355 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.2171, allocations: 3.938 kB / 0.6355 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2171, allocations: 3.984 kB / 0.6355 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2171, allocations: 4 kB / 0.6355 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.2174, allocations: 175.3 kB / 0.6356 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.2175, allocations: 77.11 kB / 0.6357 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.2175, allocations: 8 kB / 0.6357 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.272e-05/0.2176, allocations: 7.922 kB / 0.6357 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.2176, allocations: 4 kB / 0.6357 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.2176, allocations: 0 / 0.6357 GB, free: 328 kB / 478.1 MB Notification: Performance of sorting global known variables: time 3.787e-05/0.2177, allocations: 79.28 kB / 0.6358 GB, free: 248 kB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2177, allocations: 0 / 0.6358 GB, free: 248 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002293/0.2179, allocations: 12 kB / 0.6358 GB, free: 236 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.0005897/0.2185, allocations: 0.7006 MB / 0.6365 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.2188, allocations: 47.83 kB / 0.6365 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2188, allocations: 0 / 0.6365 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.399e-05/0.2189, allocations: 23.98 kB / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.2192, allocations: 0 / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.2197, allocations: 152.3 kB / 0.6367 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.22, allocations: 0.6729 MB / 0.6374 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.249e-05/0.22, allocations: 8.047 kB / 0.6374 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.22, allocations: 15.38 kB / 0.6374 GB, free: 14.52 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2201, allocations: 0 / 0.6374 GB, free: 14.52 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6324/0.8525, allocations: 1.374 MB / 0.6387 GB, free: 13.26 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.55, allocations: 15.67 kB / 0.6387 GB, free: 13.25 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)