Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",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.00185/0.00185, allocations: 105.9 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.001994/0.001994, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.22/1.22, 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 0.7291/0.7291, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 61.25 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2906, allocations: 76.17 MB / 0.6316 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.005113/0.2958, allocations: 1.488 MB / 0.633 GB, free: 3.438 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.2983, allocations: 0.8069 MB / 0.6338 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.81e-05/0.2984, allocations: 0 / 0.6338 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.988e-05/0.2985, allocations: 3.938 kB / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.484e-05/0.2986, allocations: 3.938 kB / 0.6338 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008613/0.2995, allocations: 135.4 kB / 0.6339 GB, free: 2.484 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.2997, allocations: 59.77 kB / 0.634 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.2998, allocations: 8 kB / 0.634 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.647e-05/0.2999, allocations: 23.92 kB / 0.634 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.493e-05/0.3, allocations: 27.91 kB / 0.6341 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.3001, allocations: 8 kB / 0.6341 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000589/0.3007, allocations: 171.7 kB / 0.6342 GB, free: 2.191 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.811e-05/0.3007, allocations: 11.94 kB / 0.6342 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.281e-05/0.3008, allocations: 19.92 kB / 0.6343 GB, free: 2.16 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.3013, allocations: 147.3 kB / 0.6344 GB, free: 2.02 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3013, allocations: 0 / 0.6344 GB, free: 2.02 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3013, allocations: 0 / 0.6344 GB, free: 2.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.3013, allocations: 0 / 0.6344 GB, free: 2.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009635/0.3023, allocations: 407.2 kB / 0.6348 GB, free: 1.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.3024, allocations: 8.031 kB / 0.6348 GB, free: 1.562 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.399e-05/0.3025, allocations: 38.73 kB / 0.6348 GB, free: 1.516 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.3025, allocations: 4.938 kB / 0.6348 GB, free: 1.512 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.3027, allocations: 176.2 kB / 0.635 GB, free: 1.301 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.3028, allocations: 384 / 0.635 GB, free: 1.301 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.3028, allocations: 4.375 kB / 0.635 GB, free: 1.297 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.3033, allocations: 74.2 kB / 0.6351 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.3033, allocations: 3.938 kB / 0.6351 GB, free: 1.215 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.3033, allocations: 8 kB / 0.6351 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.3034, allocations: 4 kB / 0.6351 GB, free: 1.203 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005416/0.3039, allocations: 67.92 kB / 0.6352 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.3045, allocations: 284.6 kB / 0.6354 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.3049, allocations: 62.53 kB / 0.6355 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.3051, allocations: 40.91 kB / 0.6355 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002668/0.3054, allocations: 89.09 kB / 0.6356 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.3055, allocations: 34.56 kB / 0.6356 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 2.164e-06/0.3055, allocations: 4 kB / 0.6357 GB, free: 0.543 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0008298/0.3063, allocations: 129.5 kB / 0.6358 GB, free: 420 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.3064, allocations: 51.41 kB / 0.6358 GB, free: 356 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.3066, allocations: 125.8 kB / 0.6359 GB, free: 220 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.3066, allocations: 29.7 kB / 0.636 GB, free: 184 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.3067, allocations: 92.05 kB / 0.6361 GB, free: 88 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.3067, allocations: 3.906 kB / 0.6361 GB, free: 84 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.946e-05/0.3068, allocations: 17.72 kB / 0.6361 GB, free: 60 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.307, allocations: 318.8 kB / 0.6364 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.3072, allocations: 31.97 kB / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.3074, allocations: 35.95 kB / 0.6364 GB, free: 15.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.3079, allocations: 72.72 kB / 0.6365 GB, free: 15.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3079, allocations: 0 / 0.6365 GB, free: 15.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004921/0.3084, allocations: 101.5 kB / 0.6366 GB, free: 15.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.3084, allocations: 9.344 kB / 0.6366 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3084, allocations: 0 / 0.6366 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3085, allocations: 4 kB / 0.6366 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.3086, allocations: 11.98 kB / 0.6366 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3087, allocations: 0 / 0.6366 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.3088, allocations: 19.97 kB / 0.6367 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.3088, allocations: 0 / 0.6367 GB, free: 15.45 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 (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 prepare postOptimizeDAE: time 0.0001176/0.3089, allocations: 117.8 kB / 0.6368 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.309, allocations: 0 / 0.6368 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005704/0.3096, allocations: 117.4 kB / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.3096, allocations: 4 kB / 0.6369 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.3096, allocations: 0 / 0.6369 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3096, allocations: 0 / 0.6369 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.3099, allocations: 173.6 kB / 0.6371 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3099, allocations: 4 kB / 0.6371 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.3101, allocations: 19.92 kB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3101, allocations: 0 / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3101, allocations: 0 / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3101, allocations: 0 / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3101, allocations: 0 / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005827/0.3107, allocations: 211.2 kB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.3108, allocations: 81.02 kB / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.3108, allocations: 0 / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.311, allocations: 11.98 kB / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.3111, allocations: 11.98 kB / 0.6374 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.3111, allocations: 4 kB / 0.6374 GB, free: 14.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.593e-05/0.3112, allocations: 91.27 kB / 0.6375 GB, free: 14.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3112, allocations: 4 kB / 0.6375 GB, free: 14.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004769/0.3117, allocations: 28 kB / 0.6375 GB, free: 14.48 MB / 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.00116/0.3129, allocations: 0.7674 MB / 0.6382 GB, free: 13.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005181/0.3134, allocations: 75.89 kB / 0.6383 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3134, allocations: 0 / 0.6383 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.3137, allocations: 39.95 kB / 0.6384 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.3142, allocations: 8 kB / 0.6384 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.3169, allocations: 1.429 MB / 0.6398 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.3172, allocations: 0.6807 MB / 0.6404 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.966e-05/0.3173, allocations: 4 kB / 0.6404 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.3173, allocations: 15.42 kB / 0.6404 GB, free: 11.33 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3173, allocations: 4 kB / 0.6404 GB, free: 11.33 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8171/1.134, allocations: 2.467 MB / 0.6429 GB, free: 8.953 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/12.26, allocations: 5.641 kB / 0.6429 GB, free: 8.949 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)