Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.001922/0.001922, allocations: 104.9 kB / 16.4 MB, free: 6.484 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.002563/0.002563, allocations: 197.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.357/2.357, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.011/1.011, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002026, allocations: 58.92 kB / 0.5572 GB, free: 32.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.271, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.003551/0.2746, allocations: 1.266 MB / 0.6328 GB, free: 3.621 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.2759, allocations: 0.5697 MB / 0.6334 GB, free: 3.047 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.276, allocations: 0 / 0.6334 GB, free: 3.047 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.276, allocations: 3.984 kB / 0.6334 GB, free: 3.043 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.547e-05/0.2761, allocations: 7.938 kB / 0.6334 GB, free: 3.035 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.2768, allocations: 99.5 kB / 0.6335 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.269e-05/0.2769, allocations: 19.86 kB / 0.6335 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.977e-05/0.2769, allocations: 4 kB / 0.6335 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.634e-05/0.277, allocations: 8 kB / 0.6335 GB, free: 2.906 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.083e-05/0.2771, allocations: 11.92 kB / 0.6335 GB, free: 2.895 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.2771, allocations: 0 / 0.6335 GB, free: 2.895 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003969/0.2775, allocations: 139.8 kB / 0.6337 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.2775, allocations: 11.98 kB / 0.6337 GB, free: 2.746 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.2776, allocations: 7.938 kB / 0.6337 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.2779, allocations: 82.72 kB / 0.6338 GB, free: 2.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.341e-06/0.2779, allocations: 0 / 0.6338 GB, free: 2.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.908e-06/0.2779, allocations: 4 kB / 0.6338 GB, free: 2.656 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2779, allocations: 0 / 0.6338 GB, free: 2.656 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004991/0.2784, allocations: 340.3 kB / 0.6341 GB, free: 2.273 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.2785, allocations: 8.031 kB / 0.6341 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.163e-05/0.2785, allocations: 42.69 kB / 0.6341 GB, free: 2.215 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005704/0.2791, allocations: 36.8 kB / 0.6342 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.2793, allocations: 160.4 kB / 0.6343 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.2793, allocations: 384 / 0.6343 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.2793, allocations: 384 / 0.6343 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.2795, allocations: 50.22 kB / 0.6344 GB, free: 1.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.2796, allocations: 7.922 kB / 0.6344 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.2796, allocations: 4 kB / 0.6344 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2796, allocations: 0 / 0.6344 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.2798, allocations: 19.98 kB / 0.6344 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000211/0.28, allocations: 157.7 kB / 0.6346 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.2802, allocations: 46.53 kB / 0.6346 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.2804, allocations: 20.91 kB / 0.6346 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.2804, allocations: 0 / 0.6346 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.2804, allocations: 34.56 kB / 0.6347 GB, free: 1.574 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.2804, allocations: 0 / 0.6347 GB, free: 1.574 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004217/0.2809, allocations: 77.69 kB / 0.6347 GB, free: 1.492 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.2809, allocations: 55.34 kB / 0.6348 GB, free: 1.426 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.913e-05/0.281, allocations: 97.84 kB / 0.6349 GB, free: 1.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.2811, allocations: 33.64 kB / 0.6349 GB, free: 1.281 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.2811, allocations: 80.14 kB / 0.635 GB, free: 1.199 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.2811, allocations: 11.84 kB / 0.635 GB, free: 1.188 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/0.2812, allocations: 13.7 kB / 0.635 GB, free: 1.168 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.2813, allocations: 318.9 kB / 0.6353 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-05/0.2814, allocations: 11.98 kB / 0.6353 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.403e-05/0.2815, allocations: 12 kB / 0.6353 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.2817, allocations: 28.83 kB / 0.6354 GB, free: 0.793 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2818, allocations: 0 / 0.6354 GB, free: 0.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002478/0.282, allocations: 69.67 kB / 0.6354 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.282, allocations: 7.938 kB / 0.6354 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.2821, allocations: 3.938 kB / 0.6354 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2821, allocations: 0 / 0.6354 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.2822, allocations: 7.984 kB / 0.6354 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2822, allocations: 0 / 0.6354 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.215e-05/0.2823, allocations: 4 kB / 0.6354 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.2823, allocations: 4.031 kB / 0.6355 GB, free: 0.6914 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.0001059/0.2825, allocations: 113.8 kB / 0.6356 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.2825, allocations: 7.844 kB / 0.6356 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.2825, allocations: 3.125 kB / 0.6356 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.2826, allocations: 0 / 0.6356 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2826, allocations: 0 / 0.6356 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2826, allocations: 4 kB / 0.6356 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.2827, allocations: 157.7 kB / 0.6357 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2827, allocations: 4 kB / 0.6357 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.554e-05/0.2828, allocations: 7.984 kB / 0.6357 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.2829, allocations: 3.938 kB / 0.6357 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.2829, allocations: 0 / 0.6357 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2829, allocations: 0 / 0.6357 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2829, allocations: 0 / 0.6357 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.2832, allocations: 93.03 kB / 0.6358 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.2833, allocations: 85.09 kB / 0.6359 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.2833, allocations: 7.938 kB / 0.6359 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/0.2834, allocations: 0 / 0.6359 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.2834, allocations: 0 / 0.6359 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.2834, allocations: 4 kB / 0.6359 GB, free: 116 kB / 478.1 MB Notification: Performance of sorting global known variables: time 4.089e-05/0.2835, allocations: 79.27 kB / 0.636 GB, free: 36 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2835, allocations: 0 / 0.636 GB, free: 36 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.000316/0.2838, allocations: 20.03 kB / 0.636 GB, free: 16 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 (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 Backend phase and start with SimCode phase: time 0.0006604/0.2845, allocations: 0.6322 MB / 0.6366 GB, free: 15.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.2847, allocations: 35.94 kB / 0.6367 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2848, allocations: 0 / 0.6367 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.078e-05/0.2849, allocations: 11.98 kB / 0.6367 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.2852, allocations: 12 kB / 0.6367 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006681/0.2858, allocations: 156.3 kB / 0.6368 GB, free: 15.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.2861, allocations: 0.6806 MB / 0.6375 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.464e-05/0.2862, allocations: 19.92 kB / 0.6375 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.2863, allocations: 11.42 kB / 0.6375 GB, free: 14.36 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2863, allocations: 0 / 0.6375 GB, free: 14.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3725/0.6589, allocations: 1.593 MB / 0.6391 GB, free: 12.92 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.49, allocations: 6.594 kB / 0.6391 GB, free: 12.91 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)