Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.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.001241/0.001241, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001362/0.001362, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.53/1.53, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002475/0.002475, allocations: 284.6 kB / 309.8 MB, free: 3.52 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.108/1.108, allocations: 180.6 MB / 0.5338 GB, free: 12.41 MB / 398.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002963/0.002963, allocations: 99.84 kB / 0.7347 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6547/0.6577, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002909/0.6606, allocations: 1.523 MB / 0.8293 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.6617, allocations: 0.812 MB / 0.83 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.6618, allocations: 0 / 0.83 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.213e-05/0.6618, allocations: 5.25 kB / 0.83 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/0.6619, allocations: 23.06 kB / 0.8301 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004605/0.6623, allocations: 129.4 kB / 0.8302 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.901e-05/0.6624, allocations: 47.98 kB / 0.8302 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.6625, allocations: 12.72 kB / 0.8303 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.291e-05/0.6626, allocations: 23.66 kB / 0.8303 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.02e-05/0.6626, allocations: 20.3 kB / 0.8303 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.6627, allocations: 2.969 kB / 0.8303 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/0.663, allocations: 180.9 kB / 0.8305 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.663, allocations: 14.66 kB / 0.8305 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.663, allocations: 25.66 kB / 0.8305 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.6633, allocations: 146 kB / 0.8306 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6633, allocations: 0.6094 kB / 0.8306 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6633, allocations: 3.938 kB / 0.8307 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.6633, allocations: 0 / 0.8307 GB, free: 1.16 MB / 0.5762 GB 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.0005273/0.6639, allocations: 401.6 kB / 0.831 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.6639, allocations: 10.31 kB / 0.831 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.345e-05/0.6639, allocations: 7.094 kB / 0.8311 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.102e-05/0.6639, allocations: 35.3 kB / 0.8311 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.664, allocations: 4.859 kB / 0.8311 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.345e-05/0.6641, allocations: 181 kB / 0.8313 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.6641, allocations: 8.375 kB / 0.8313 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.6641, allocations: 4 kB / 0.8313 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.6644, allocations: 74.83 kB / 0.8313 GB, free: 468 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.6644, allocations: 4 kB / 0.8313 GB, free: 464 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.6644, allocations: 2.656 kB / 0.8314 GB, free: 464 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.6644, allocations: 0 / 0.8314 GB, free: 464 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.6647, allocations: 73.02 kB / 0.8314 GB, free: 448 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.6651, allocations: 278.5 kB / 0.8317 GB, free: 156 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.6653, allocations: 58.81 kB / 0.8317 GB, free: 120 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.6654, allocations: 36.17 kB / 0.8318 GB, free: 108 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.6656, allocations: 89.7 kB / 0.8319 GB, free: 12 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.353e-05/0.6656, allocations: 41.09 kB / 0.8319 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.6656, allocations: 0 / 0.8319 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005992/0.6662, allocations: 132.2 kB / 0.832 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.6663, allocations: 55.08 kB / 0.8321 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.6664, allocations: 120.3 kB / 0.8322 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.6664, allocations: 34.16 kB / 0.8322 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.6665, allocations: 87.69 kB / 0.8323 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.6665, allocations: 12.97 kB / 0.8323 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.6665, allocations: 12.66 kB / 0.8323 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.6667, allocations: 323.6 kB / 0.8326 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.6669, allocations: 32.22 kB / 0.8327 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.667, allocations: 38.19 kB / 0.8327 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.6673, allocations: 67.39 kB / 0.8328 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6673, allocations: 0 / 0.8328 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003323/0.6676, allocations: 104.3 kB / 0.8329 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.6676, allocations: 5.062 kB / 0.8329 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.6676, allocations: 0 / 0.8329 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.6676, allocations: 0.5156 kB / 0.8329 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.6678, allocations: 15.55 kB / 0.8329 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.6678, allocations: 0 / 0.8329 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/0.6679, allocations: 13.75 kB / 0.8329 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.6679, allocations: 0 / 0.8329 GB, free: 15.19 MB / 0.5919 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 (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.0001099/0.668, allocations: 124.6 kB / 0.833 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.668, allocations: 7.297 kB / 0.833 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003842/0.6684, allocations: 106.4 kB / 0.8331 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.6684, allocations: 0 / 0.8331 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.6684, allocations: 3.938 kB / 0.8331 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6684, allocations: 0 / 0.8331 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.6686, allocations: 182.8 kB / 0.8333 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.6686, allocations: 0.7031 kB / 0.8333 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.287e-05/0.6687, allocations: 15.23 kB / 0.8333 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6687, allocations: 0.6094 kB / 0.8333 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.6687, allocations: 0 / 0.8333 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.6687, allocations: 3.422 kB / 0.8333 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.6687, allocations: 0 / 0.8333 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.6691, allocations: 197 kB / 0.8335 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.6691, allocations: 87.92 kB / 0.8336 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.6692, allocations: 7.094 kB / 0.8336 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.6693, allocations: 10.03 kB / 0.8336 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.6693, allocations: 4.594 kB / 0.8336 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.6693, allocations: 0.75 kB / 0.8336 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.273e-05/0.6694, allocations: 100.5 kB / 0.8337 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6694, allocations: 0 / 0.8337 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002802/0.6697, allocations: 36.11 kB / 0.8338 GB, free: 14.45 MB / 0.5919 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 (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.0008082/0.6705, allocations: 0.7642 MB / 0.8345 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.6708, allocations: 71.59 kB / 0.8346 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6708, allocations: 0 / 0.8346 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.671, allocations: 35.06 kB / 0.8346 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.6713, allocations: 15.23 kB / 0.8346 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.6733, allocations: 1.422 MB / 0.836 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.6737, allocations: 0.6812 MB / 0.8367 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.183e-05/0.6737, allocations: 3.312 kB / 0.8367 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.6737, allocations: 16.44 kB / 0.8367 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.6737, allocations: 0 / 0.8367 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.6922, allocations: 2.573 MB / 0.8392 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.8, allocations: 10.97 kB / 0.8392 GB, free: 11.32 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.02421762101585] Failed to read output from testmodel.py, exit status != 0: 8.92800305300625 8.943637483 8.2773556 Calling exit ...