Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.0007463/0.0007463, 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.0007424/0.0007424, allocations: 165.9 kB / 22.46 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.8289/0.8289, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.00141/0.00141, allocations: 232.2 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.6612/0.6612, allocations: 138.4 MB / 454.3 MB, free: 30.05 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.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.027e-05, allocations: 5.234 kB / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001592/0.001612, allocations: 1.302 MB / 0.6476 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2389/0.2406, allocations: 0.7558 MB / 0.6483 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.67e-05/0.2406, allocations: 0 / 0.6483 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.25e-05/0.2406, allocations: 0.5156 kB / 0.6483 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.489e-05/0.2407, allocations: 9.484 kB / 0.6483 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.2412, allocations: 134.5 kB / 0.6484 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.075e-05/0.2412, allocations: 28.75 kB / 0.6485 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.2413, allocations: 3.766 kB / 0.6485 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.51e-05/0.2413, allocations: 13.66 kB / 0.6485 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.2414, allocations: 8.312 kB / 0.6485 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.2414, allocations: 1.125 kB / 0.6485 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000271/0.2417, allocations: 166.6 kB / 0.6487 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.2417, allocations: 5.703 kB / 0.6487 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.2417, allocations: 6.062 kB / 0.6487 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.2419, allocations: 140.8 kB / 0.6488 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.242, allocations: 2.844 kB / 0.6488 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.903e-06/0.242, allocations: 0 / 0.6488 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.242, allocations: 0 / 0.6488 GB, free: 55.71 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003536/0.2423, allocations: 288.9 kB / 0.6491 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2424, allocations: 10.75 kB / 0.6491 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.424e-05/0.2424, allocations: 34.17 kB / 0.6491 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.2424, allocations: 4.781 kB / 0.6491 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.773e-05/0.2425, allocations: 110.1 kB / 0.6492 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.958e-05/0.2425, allocations: 63.08 kB / 0.6493 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.2425, allocations: 1.281 kB / 0.6493 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.2427, allocations: 69.86 kB / 0.6494 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.2427, allocations: 1.312 kB / 0.6494 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.2427, allocations: 3.844 kB / 0.6494 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.2427, allocations: 4.688 kB / 0.6494 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.055e-05/0.2427, allocations: 17.67 kB / 0.6494 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.2429, allocations: 131.2 kB / 0.6495 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.2431, allocations: 42.77 kB / 0.6496 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.2431, allocations: 20.14 kB / 0.6496 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.2433, allocations: 27.72 kB / 0.6496 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.2433, allocations: 33.53 kB / 0.6496 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 2.304e-06/0.2433, allocations: 4.656 kB / 0.6496 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0001913/0.2435, allocations: 77.56 kB / 0.6497 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.2435, allocations: 53.56 kB / 0.6498 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.758e-05/0.2435, allocations: 97.06 kB / 0.6499 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.2435, allocations: 27.89 kB / 0.6499 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.026e-05/0.2435, allocations: 83.06 kB / 0.65 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.2436, allocations: 12.52 kB / 0.65 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.2436, allocations: 18.16 kB / 0.65 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.431e-05/0.2436, allocations: 313.5 kB / 0.6503 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.514e-05/0.2437, allocations: 10.34 kB / 0.6503 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.2437, allocations: 9.438 kB / 0.6503 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.264e-05/0.2438, allocations: 35.69 kB / 0.6503 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2438, allocations: 0 / 0.6503 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.169e-05/0.2438, allocations: 54.86 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2439, allocations: 6.125 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2439, allocations: 0.7188 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2439, allocations: 4.812 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.782e-05/0.2439, allocations: 11.08 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2439, allocations: 1.422 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.034e-05/0.2439, allocations: 2.734 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.244, allocations: 2.062 kB / 0.6504 GB, free: 54.21 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 (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 4.085e-05/0.244, allocations: 111.4 kB / 0.6505 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-06/0.244, allocations: 1.781 kB / 0.6505 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.2441, allocations: 75.62 kB / 0.6506 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2441, allocations: 5.297 kB / 0.6506 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2441, allocations: 3.594 kB / 0.6506 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.2441, allocations: 0 / 0.6506 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.432e-05/0.2442, allocations: 127.1 kB / 0.6507 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2442, allocations: 0 / 0.6507 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.572e-05/0.2442, allocations: 9.766 kB / 0.6507 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2442, allocations: 0.9375 kB / 0.6507 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.2442, allocations: 7.25 kB / 0.6507 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2442, allocations: 4.812 kB / 0.6508 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2442, allocations: 0 / 0.6508 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.049e-05/0.2443, allocations: 89.39 kB / 0.6508 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.2444, allocations: 5.312 kB / 0.6508 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.2444, allocations: 2.781 kB / 0.6508 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.503e-05/0.2444, allocations: 8.047 kB / 0.6509 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.2444, allocations: 3.438 kB / 0.6509 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.2444, allocations: 3.953 kB / 0.6509 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.532e-05/0.2444, allocations: 79.38 kB / 0.6509 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.2444, allocations: 4.156 kB / 0.6509 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001802/0.2446, allocations: 35.75 kB / 0.651 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 (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.0003404/0.245, allocations: 0.6628 MB / 0.6516 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.2451, allocations: 32.03 kB / 0.6517 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2451, allocations: 0 / 0.6517 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.98e-05/0.2451, allocations: 13.33 kB / 0.6517 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.2453, allocations: 12.31 kB / 0.6517 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.2457, allocations: 162.9 kB / 0.6518 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.413e-05/0.2457, allocations: 59.62 kB / 0.6519 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.582e-05/0.2457, allocations: 11.03 kB / 0.6519 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/0.2458, allocations: 11.67 kB / 0.6519 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of SimCode: time 7.62e-07/0.2458, allocations: 3.875 kB / 0.6519 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.2604, allocations: 2.685 MB / 0.6545 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.437/6.697, allocations: 6.5 kB / 0.6545 GB, free: 52.05 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.130223578773439] Failed to read output from testmodel.py, exit status != 0: 6.776083015836775 6.78605965 6.542372155 Calling exit ...