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.001342/0.001342, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001575/0.001575, allocations: 212.5 kB / 22.24 MB, free: 5.262 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.746 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.002499/0.002499, allocations: 299.2 kB / 312.7 MB, free: 2.598 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.238/1.238, allocations: 180.6 MB / 0.5369 GB, free: 14.58 MB / 382.1 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",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.002976/0.002976, allocations: 101.1 kB / 0.7395 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2111, allocations: 95.38 MB / 0.8326 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00291/0.2141, allocations: 1.506 MB / 0.8341 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.2155, allocations: 0.7502 MB / 0.8348 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.2155, allocations: 3.938 kB / 0.8348 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.2156, allocations: 0 / 0.8348 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.61e-05/0.2156, allocations: 19.86 kB / 0.8349 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.2161, allocations: 131.4 kB / 0.835 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.2162, allocations: 47.84 kB / 0.835 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2163, allocations: 16.16 kB / 0.835 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.895e-05/0.2164, allocations: 19.98 kB / 0.8351 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.2165, allocations: 27.84 kB / 0.8351 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.2165, allocations: 4 kB / 0.8351 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003516/0.2168, allocations: 167.7 kB / 0.8353 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.2168, allocations: 8 kB / 0.8353 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.2169, allocations: 27.84 kB / 0.8353 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.2172, allocations: 139.6 kB / 0.8354 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.2172, allocations: 7.938 kB / 0.8354 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2172, allocations: 0 / 0.8354 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.2172, allocations: 0 / 0.8354 GB, free: 5.457 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.0006013/0.2178, allocations: 317.8 kB / 0.8357 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.2178, allocations: 13.94 kB / 0.8357 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/0.2179, allocations: 38.75 kB / 0.8358 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.2179, allocations: 4.938 kB / 0.8358 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.2181, allocations: 122.4 kB / 0.8359 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.2181, allocations: 384 / 0.8359 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.2181, allocations: 8.375 kB / 0.8359 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.2184, allocations: 70.22 kB / 0.836 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.2184, allocations: 7.875 kB / 0.836 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.2184, allocations: 0 / 0.836 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2184, allocations: 0 / 0.836 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.2187, allocations: 71.92 kB / 0.8361 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.2191, allocations: 251.8 kB / 0.8363 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.2193, allocations: 58.55 kB / 0.8363 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.2195, allocations: 36.91 kB / 0.8364 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.2196, allocations: 15.98 kB / 0.8364 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.2196, allocations: 34.56 kB / 0.8364 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2196, allocations: 3.938 kB / 0.8364 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005501/0.2202, allocations: 125.5 kB / 0.8366 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.2202, allocations: 59.41 kB / 0.8366 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.2203, allocations: 125.8 kB / 0.8367 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.2204, allocations: 29.64 kB / 0.8368 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.2204, allocations: 92.14 kB / 0.8368 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.2204, allocations: 3.953 kB / 0.8369 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.2205, allocations: 21.7 kB / 0.8369 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2206, allocations: 314.8 kB / 0.8372 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.2208, allocations: 31.97 kB / 0.8372 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.2209, allocations: 35.95 kB / 0.8372 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.2212, allocations: 72.72 kB / 0.8373 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2212, allocations: 0 / 0.8373 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003241/0.2215, allocations: 101.9 kB / 0.8374 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2215, allocations: 8 kB / 0.8374 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2215, allocations: 0 / 0.8374 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2215, allocations: 0 / 0.8374 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.2217, allocations: 11.98 kB / 0.8374 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2217, allocations: 4 kB / 0.8374 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.811e-05/0.2217, allocations: 11.97 kB / 0.8374 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.2218, allocations: 4 kB / 0.8374 GB, free: 3.195 MB / 0.5762 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 9.33e-05/0.2218, allocations: 114.4 kB / 0.8376 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.2219, allocations: 15.94 kB / 0.8376 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003931/0.2223, allocations: 109.5 kB / 0.8377 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2223, allocations: 0 / 0.8377 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.2223, allocations: 4 kB / 0.8377 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2223, allocations: 0 / 0.8377 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.2225, allocations: 148.7 kB / 0.8378 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2225, allocations: 0 / 0.8378 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.003e-05/0.2226, allocations: 15.98 kB / 0.8378 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2226, allocations: 0 / 0.8378 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.2226, allocations: 4 kB / 0.8378 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2226, allocations: 0 / 0.8378 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2226, allocations: 3.938 kB / 0.8378 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.223, allocations: 199.3 kB / 0.838 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.223, allocations: 7.953 kB / 0.838 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.223, allocations: 4 kB / 0.838 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.2231, allocations: 11.98 kB / 0.8381 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.2231, allocations: 3.984 kB / 0.8381 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.2231, allocations: 4 kB / 0.8381 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.61e-05/0.2232, allocations: 99.2 kB / 0.8382 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2232, allocations: 0 / 0.8382 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002746/0.2235, allocations: 31.88 kB / 0.8382 GB, free: 2.352 MB / 0.5762 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.0008041/0.2243, allocations: 0.7629 MB / 0.8389 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003389/0.2246, allocations: 67.92 kB / 0.839 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2246, allocations: 0 / 0.839 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.2248, allocations: 39.95 kB / 0.839 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.2251, allocations: 8 kB / 0.839 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.227, allocations: 1.432 MB / 0.8404 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.644e-05/0.2271, allocations: 71.34 kB / 0.8405 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.596e-05/0.2271, allocations: 4.234 kB / 0.8405 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.2272, allocations: 23.42 kB / 0.8405 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.2272, allocations: 0 / 0.8405 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.2583, allocations: 3.118 MB / 0.8436 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.4, allocations: 15.48 kB / 0.8436 GB, free: 12.84 MB / 0.5919 GB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 15.634427676908672] Failed to read output from testmodel.py, exit status != 0: 11.503169068600982 11.530532276 11.308438877 Calling exit ...