Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",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.002215/0.002215, allocations: 101.4 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.002656/0.002655, allocations: 195.8 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 1.965/1.965, 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.11/1.11, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 63.31 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2786, allocations: 76.18 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.004323/0.2829, allocations: 1.25 MB / 0.6328 GB, free: 3.672 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.284, allocations: 287.4 kB / 0.6331 GB, free: 3.391 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.2841, allocations: 4 kB / 0.6331 GB, free: 3.387 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.686e-05/0.2842, allocations: 7.922 kB / 0.6331 GB, free: 3.379 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.629e-05/0.2843, allocations: 0 / 0.6331 GB, free: 3.379 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.2848, allocations: 51.75 kB / 0.6331 GB, free: 3.328 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2849, allocations: 23.86 kB / 0.6332 GB, free: 3.305 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.161e-05/0.285, allocations: 4 kB / 0.6332 GB, free: 3.301 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.973e-05/0.285, allocations: 7.938 kB / 0.6332 GB, free: 3.293 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.271e-05/0.2851, allocations: 11.98 kB / 0.6332 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.2852, allocations: 0 / 0.6332 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.2854, allocations: 51.95 kB / 0.6332 GB, free: 3.23 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.2854, allocations: 3.984 kB / 0.6332 GB, free: 3.227 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.2855, allocations: 7.938 kB / 0.6332 GB, free: 3.219 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.2857, allocations: 46.77 kB / 0.6333 GB, free: 3.176 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2857, allocations: 4 kB / 0.6333 GB, free: 3.172 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2857, allocations: 0 / 0.6333 GB, free: 3.172 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.2858, allocations: 4 kB / 0.6333 GB, free: 3.168 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005968/0.2864, allocations: 336.3 kB / 0.6336 GB, free: 2.789 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.2864, allocations: 12.03 kB / 0.6336 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.2866, allocations: 34.75 kB / 0.6337 GB, free: 2.734 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003161/0.2869, allocations: 16.92 kB / 0.6337 GB, free: 2.719 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.2871, allocations: 172.3 kB / 0.6338 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.2871, allocations: 384 / 0.6338 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.2871, allocations: 4.375 kB / 0.6338 GB, free: 2.508 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.2873, allocations: 42.19 kB / 0.6339 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.2873, allocations: 11.88 kB / 0.6339 GB, free: 2.449 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.2873, allocations: 0 / 0.6339 GB, free: 2.449 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2874, allocations: 0 / 0.6339 GB, free: 2.449 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.651e-05/0.2874, allocations: 19.98 kB / 0.6339 GB, free: 2.43 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.2877, allocations: 153.7 kB / 0.6341 GB, free: 2.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005942/0.2937, allocations: 266.5 kB / 0.6343 GB, free: 1.961 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.2938, allocations: 28.83 kB / 0.6343 GB, free: 1.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.2939, allocations: 4 kB / 0.6344 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.2939, allocations: 34.5 kB / 0.6344 GB, free: 1.883 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 3.577e-06/0.294, allocations: 0 / 0.6344 GB, free: 1.883 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003082/0.2943, allocations: 65.62 kB / 0.6344 GB, free: 1.812 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/0.2944, allocations: 55.41 kB / 0.6345 GB, free: 1.746 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.2945, allocations: 89.86 kB / 0.6346 GB, free: 1.648 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.2945, allocations: 25.7 kB / 0.6346 GB, free: 1.617 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.2946, allocations: 84.25 kB / 0.6347 GB, free: 1.531 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.2947, allocations: 19.81 kB / 0.6347 GB, free: 1.512 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/0.2947, allocations: 9.719 kB / 0.6347 GB, free: 1.496 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.295, allocations: 318.8 kB / 0.635 GB, free: 1.176 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.819e-05/0.295, allocations: 7.984 kB / 0.635 GB, free: 1.168 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.295, allocations: 11.94 kB / 0.635 GB, free: 1.156 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.199e-05/0.2951, allocations: 24.86 kB / 0.6351 GB, free: 1.129 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2951, allocations: 0 / 0.6351 GB, free: 1.129 MB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001524/0.2953, allocations: 53.69 kB / 0.6351 GB, free: 1.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.2954, allocations: 15.88 kB / 0.6351 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.2954, allocations: 0 / 0.6351 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.2954, allocations: 0 / 0.6351 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.153e-05/0.2955, allocations: 8 kB / 0.6351 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.2955, allocations: 0 / 0.6351 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.144e-05/0.2956, allocations: 3.938 kB / 0.6351 GB, free: 1.043 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.2956, allocations: 3.984 kB / 0.6351 GB, free: 1.039 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 (4): * Single equations (assignments): 4 * 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.0001279/0.2957, allocations: 117.8 kB / 0.6353 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.2958, allocations: 3.938 kB / 0.6353 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.944e-05/0.2958, allocations: 11.5 kB / 0.6353 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2958, allocations: 0 / 0.6353 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2958, allocations: 0 / 0.6353 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2958, allocations: 0 / 0.6353 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.2961, allocations: 161.7 kB / 0.6354 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2961, allocations: 0 / 0.6354 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.07e-05/0.2961, allocations: 4 kB / 0.6354 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.2962, allocations: 3.938 kB / 0.6354 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.2962, allocations: 0 / 0.6354 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2962, allocations: 4 kB / 0.6354 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2962, allocations: 3.938 kB / 0.6354 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.2964, allocations: 92.95 kB / 0.6355 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-05/0.2965, allocations: 77.11 kB / 0.6356 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.2965, allocations: 3.938 kB / 0.6356 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.921e-05/0.2966, allocations: 4 kB / 0.6356 GB, free: 472 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.2967, allocations: 4.359 kB / 0.6356 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.2967, allocations: 0 / 0.6356 GB, free: 468 kB / 478.1 MB Notification: Performance of sorting global known variables: time 5.236e-05/0.2967, allocations: 79.28 kB / 0.6357 GB, free: 388 kB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2968, allocations: 4.094 kB / 0.6357 GB, free: 384 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.2971, allocations: 8 kB / 0.6357 GB, free: 376 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 (4): * Single equations (assignments): 4 * 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.000689/0.2978, allocations: 0.6163 MB / 0.6363 GB, free: 15.72 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.2979, allocations: 23.92 kB / 0.6363 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.298, allocations: 0 / 0.6363 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.905e-05/0.298, allocations: 16 kB / 0.6363 GB, free: 15.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.2985, allocations: 19.97 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008434/0.2993, allocations: 156.2 kB / 0.6365 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.2999, allocations: 0.6729 MB / 0.6372 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.217e-05/0.3, allocations: 15.92 kB / 0.6372 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.3, allocations: 7.438 kB / 0.6372 GB, free: 14.74 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3, allocations: 0 / 0.6372 GB, free: 14.74 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06761/0.3677, allocations: 1.326 MB / 0.6385 GB, free: 13.52 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.18, allocations: 15.41 kB / 0.6385 GB, free: 13.5 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)