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.0008424/0.0008424, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008614/0.0008614, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8514/0.8514, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001464/0.001464, allocations: 240 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6726/0.6726, allocations: 138.4 MB / 454.3 MB, free: 30.07 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.903e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001939/0.001958, allocations: 1.511 MB / 0.6477 GB, free: 376 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2276/0.2295, allocations: 0.7399 MB / 0.6485 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.2296, allocations: 2.219 kB / 0.6485 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.627e-05/0.2296, allocations: 6.844 kB / 0.6485 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.645e-05/0.2297, allocations: 14.16 kB / 0.6485 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.2302, allocations: 135 kB / 0.6486 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.939e-05/0.2302, allocations: 52.62 kB / 0.6487 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.2304, allocations: 14.17 kB / 0.6487 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.841e-05/0.2304, allocations: 26.5 kB / 0.6487 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.419e-05/0.2305, allocations: 19.02 kB / 0.6487 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.2305, allocations: 6.25 kB / 0.6487 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.2308, allocations: 164.1 kB / 0.6489 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.2308, allocations: 14.28 kB / 0.6489 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.2308, allocations: 12.95 kB / 0.6489 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.2311, allocations: 168.8 kB / 0.6491 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2311, allocations: 0.7812 kB / 0.6491 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2311, allocations: 0 / 0.6491 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2311, allocations: 4.438 kB / 0.6491 GB, free: 55.79 MB / 0.5573 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.0003862/0.2315, allocations: 330.8 kB / 0.6494 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.2315, allocations: 12.39 kB / 0.6494 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.926e-05/0.2315, allocations: 33.39 kB / 0.6494 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.2316, allocations: 6.375 kB / 0.6494 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.682e-05/0.2316, allocations: 116.2 kB / 0.6496 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.2317, allocations: 2.969 kB / 0.6496 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.2317, allocations: 4.031 kB / 0.6496 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.2318, allocations: 73.3 kB / 0.6496 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.2318, allocations: 0.9375 kB / 0.6496 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.2319, allocations: 2.375 kB / 0.6496 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2319, allocations: 6.188 kB / 0.6496 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.232, allocations: 73.11 kB / 0.6497 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.2323, allocations: 240.2 kB / 0.6499 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.2325, allocations: 58.95 kB / 0.65 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.745e-05/0.2325, allocations: 40.06 kB / 0.65 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.2326, allocations: 14.72 kB / 0.65 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.2327, allocations: 36.8 kB / 0.6501 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.2327, allocations: 0 / 0.6501 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0003311/0.233, allocations: 138.5 kB / 0.6502 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.233, allocations: 53.16 kB / 0.6503 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.383e-05/0.2331, allocations: 113.8 kB / 0.6504 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.2331, allocations: 31.34 kB / 0.6504 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.678e-05/0.2331, allocations: 90.75 kB / 0.6505 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.2331, allocations: 9.438 kB / 0.6505 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.2332, allocations: 17.66 kB / 0.6505 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.24e-05/0.2332, allocations: 314.7 kB / 0.6508 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.691e-05/0.2333, allocations: 31.25 kB / 0.6508 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-05/0.2333, allocations: 37.67 kB / 0.6509 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.2335, allocations: 67.78 kB / 0.6509 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2335, allocations: 1.812 kB / 0.651 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001673/0.2337, allocations: 107.3 kB / 0.6511 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2337, allocations: 8.594 kB / 0.6511 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2337, allocations: 1.188 kB / 0.6511 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2337, allocations: 0 / 0.6511 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.559e-05/0.2338, allocations: 20.94 kB / 0.6511 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.2338, allocations: 0 / 0.6511 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.879e-05/0.2338, allocations: 12.64 kB / 0.6511 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.2338, allocations: 1.812 kB / 0.6511 GB, free: 54.27 MB / 0.5573 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 3.758e-05/0.2338, allocations: 114.9 kB / 0.6512 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.2339, allocations: 11.86 kB / 0.6512 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.2341, allocations: 106.3 kB / 0.6513 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2341, allocations: 0 / 0.6513 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.2341, allocations: 4.484 kB / 0.6513 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2341, allocations: 2.766 kB / 0.6513 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.323e-05/0.2342, allocations: 141.9 kB / 0.6515 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2342, allocations: 0 / 0.6515 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.2342, allocations: 18.97 kB / 0.6515 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2342, allocations: 0 / 0.6515 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.2342, allocations: 0 / 0.6515 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2342, allocations: 3.344 kB / 0.6515 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2342, allocations: 0 / 0.6515 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.2344, allocations: 203.1 kB / 0.6517 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.2344, allocations: 6.062 kB / 0.6517 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.2344, allocations: 1.562 kB / 0.6517 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.967e-05/0.2345, allocations: 12.69 kB / 0.6517 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.2345, allocations: 8.75 kB / 0.6517 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.2345, allocations: 1.938 kB / 0.6517 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.51e-05/0.2345, allocations: 91.75 kB / 0.6518 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2345, allocations: 0 / 0.6518 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002045/0.2347, allocations: 41.83 kB / 0.6518 GB, free: 53.73 MB / 0.5573 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.0003781/0.2351, allocations: 0.771 MB / 0.6526 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.2353, allocations: 71.03 kB / 0.6527 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.2353, allocations: 0 / 0.6527 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.034e-05/0.2354, allocations: 33.53 kB / 0.6527 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.2356, allocations: 8.578 kB / 0.6527 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2366, allocations: 1.42 MB / 0.6541 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.014e-05/0.2367, allocations: 66.81 kB / 0.6541 GB, free: 51.81 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.985e-05/0.2367, allocations: 7.688 kB / 0.6542 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.2368, allocations: 20.47 kB / 0.6542 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of SimCode: time 6.01e-07/0.2368, allocations: 0 / 0.6542 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.2518, allocations: 3.268 MB / 0.6574 GB, free: 50.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.404/6.656, allocations: 13.11 kB / 0.6574 GB, free: 50.89 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.144457314163446] Failed to read output from testmodel.py, exit status != 0: 6.733038153499365 6.741538612 6.508729347 Calling exit ...