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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000964/0.000964, allocations: 76.5 kB / 19.92 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9141/0.9141, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5956/0.5956, allocations: 114 MB / 373.9 MB, free: 8.73 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.286e-05, allocations: 3.547 kB / 0.5542 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001919/0.001942, allocations: 1.282 MB / 0.5554 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005481/0.00249, allocations: 267.1 kB / 0.5557 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.002524, allocations: 0 / 0.5557 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.002549, allocations: 3.938 kB / 0.5557 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.547e-05/0.002594, allocations: 11.92 kB / 0.5557 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.002889, allocations: 47.75 kB / 0.5557 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.232e-05/0.002952, allocations: 15.92 kB / 0.5558 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.002992, allocations: 4 kB / 0.5558 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.00305, allocations: 15.97 kB / 0.5558 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.794e-05/0.003098, allocations: 4 kB / 0.5558 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.003117, allocations: 3.938 kB / 0.5558 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.636e-05/0.003213, allocations: 55.89 kB / 0.5558 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.003225, allocations: 7.938 kB / 0.5559 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.769e-05/0.003243, allocations: 7.984 kB / 0.5559 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.003357, allocations: 47.89 kB / 0.5559 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.003361, allocations: 7.922 kB / 0.5559 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.392e-06/0.003362, allocations: 0 / 0.5559 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.003366, allocations: 0 / 0.5559 GB, free: 1.008 MB / 0.5105 GB 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.0003176/0.003684, allocations: 258.3 kB / 0.5562 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.003724, allocations: 12.62 kB / 0.5562 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.003757, allocations: 30.75 kB / 0.5562 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.003901, allocations: 20.88 kB / 0.5562 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.374e-05/0.003975, allocations: 109.8 kB / 0.5563 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.003986, allocations: 8.359 kB / 0.5563 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.003994, allocations: 384 / 0.5563 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.004112, allocations: 71.89 kB / 0.5564 GB, free: 440 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.00412, allocations: 192 / 0.5564 GB, free: 440 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.004132, allocations: 4.375 kB / 0.5564 GB, free: 436 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.004139, allocations: 4.125 kB / 0.5564 GB, free: 432 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.398e-05/0.004183, allocations: 15.94 kB / 0.5564 GB, free: 416 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.00431, allocations: 132.8 kB / 0.5566 GB, free: 240 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000843/0.005153, allocations: 266.4 kB / 0.5568 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.005184, allocations: 16.86 kB / 0.5568 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.005196, allocations: 0 / 0.5568 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.005217, allocations: 34.55 kB / 0.5569 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.005218, allocations: 0 / 0.5569 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001477/0.005365, allocations: 69.62 kB / 0.5569 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.005396, allocations: 59.34 kB / 0.557 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.284e-05/0.005439, allocations: 89.86 kB / 0.5571 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.005451, allocations: 29.7 kB / 0.5571 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.905e-05/0.00547, allocations: 80.14 kB / 0.5572 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.005499, allocations: 19.83 kB / 0.5572 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.005525, allocations: 17.72 kB / 0.5572 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.005606, allocations: 314.8 kB / 0.5575 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.005623, allocations: 8 kB / 0.5575 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.321e-05/0.005636, allocations: 4 kB / 0.5575 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.695e-05/0.005673, allocations: 32.97 kB / 0.5575 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.005675, allocations: 0 / 0.5575 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.706e-05/0.005732, allocations: 57.64 kB / 0.5576 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.005745, allocations: 4 kB / 0.5576 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.00575, allocations: 0 / 0.5576 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.005763, allocations: 7.984 kB / 0.5576 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.778e-05/0.005801, allocations: 7.938 kB / 0.5576 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.005806, allocations: 0 / 0.5576 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.475e-05/0.005821, allocations: 3.938 kB / 0.5576 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.005825, allocations: 0 / 0.5576 GB, free: 15.05 MB / 0.5261 GB 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 5.488e-05/0.00588, allocations: 113.8 kB / 0.5577 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-06/0.005887, allocations: 3.953 kB / 0.5577 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.005914, allocations: 7.531 kB / 0.5577 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.005916, allocations: 7.938 kB / 0.5578 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.005922, allocations: 3.938 kB / 0.5578 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.005927, allocations: 3.984 kB / 0.5578 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.975e-05/0.006007, allocations: 120.8 kB / 0.5579 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.006007, allocations: 0 / 0.5579 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.006027, allocations: 11.94 kB / 0.5579 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.006029, allocations: 0 / 0.5579 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.006036, allocations: 4 kB / 0.5579 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.006037, allocations: 4 kB / 0.5579 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.006039, allocations: 3.938 kB / 0.5579 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.313e-05/0.006112, allocations: 81.44 kB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.006153, allocations: 8.031 kB / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.719e-06/0.006162, allocations: 0 / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.079e-05/0.006193, allocations: 8 kB / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.006208, allocations: 7.922 kB / 0.558 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.006213, allocations: 4 kB / 0.558 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.533e-05/0.006239, allocations: 79.28 kB / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.006239, allocations: 0 / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00012/0.006359, allocations: 8.094 kB / 0.5581 GB, free: 14.51 MB / 0.5261 GB 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.0002421/0.006601, allocations: 0.6085 MB / 0.5587 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.532e-05/0.006676, allocations: 23.98 kB / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006678, allocations: 0 / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.44e-05/0.006692, allocations: 15.94 kB / 0.5587 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.00686, allocations: 15.31 kB / 0.5587 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.007206, allocations: 146.6 kB / 0.5589 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.963e-05/0.007246, allocations: 59.34 kB / 0.5589 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.007278, allocations: 4 kB / 0.5589 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.007311, allocations: 16.5 kB / 0.5589 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of SimCode: time 2.9e-07/0.007311, allocations: 0 / 0.5589 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.02099, allocations: 1.996 MB / 0.5609 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.152/7.173, allocations: 8.094 kB / 0.5609 GB, free: 11.68 MB / 0.5261 GB " [Timeout remaining time 653] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.759722523391247] Failed to read output from testmodel.py, exit status != 0: 7.254027643240988 7.266024261 7.260500536 Calling exit ...