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.0008517/0.0008517, allocations: 76.5 kB / 19.93 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.0007721/0.0007721, 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.8595/0.8595, allocations: 177.1 MB / 203.5 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.00152/0.00152, allocations: 229.2 kB / 260.2 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.662/0.662, allocations: 138.4 MB / 455.1 MB, free: 29.98 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: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.6475 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.105e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001714/0.001745, allocations: 1.304 MB / 0.6488 GB, free: 44 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.236/0.2377, allocations: 0.7573 MB / 0.6495 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.2377, allocations: 2 kB / 0.6495 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.2377, allocations: 1.391 kB / 0.6495 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.558e-05/0.2378, allocations: 6.734 kB / 0.6495 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.2382, allocations: 131.2 kB / 0.6497 GB, free: 56.47 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.513e-05/0.2383, allocations: 30.73 kB / 0.6497 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.2383, allocations: 4.156 kB / 0.6497 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.041e-05/0.2384, allocations: 14.62 kB / 0.6497 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.235e-05/0.2384, allocations: 6.781 kB / 0.6497 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.2384, allocations: 2.312 kB / 0.6497 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.2387, allocations: 168.2 kB / 0.6499 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.2387, allocations: 5.031 kB / 0.6499 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.2387, allocations: 13.81 kB / 0.6499 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.2389, allocations: 133 kB / 0.65 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2389, allocations: 0 / 0.65 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2389, allocations: 0 / 0.65 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2389, allocations: 1.188 kB / 0.65 GB, free: 56.41 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.0003161/0.2393, allocations: 284 kB / 0.6503 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2393, allocations: 11.34 kB / 0.6503 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.2393, allocations: 7.125 kB / 0.6503 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.313e-05/0.2394, allocations: 113.5 kB / 0.6504 GB, free: 56 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-05/0.2394, allocations: 57.67 kB / 0.6505 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.2395, allocations: 3.375 kB / 0.6505 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.2396, allocations: 69.81 kB / 0.6506 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.2396, allocations: 1.844 kB / 0.6506 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2396, allocations: 1.625 kB / 0.6506 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.2396, allocations: 6.594 kB / 0.6506 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.637e-05/0.2396, allocations: 15.88 kB / 0.6506 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.267e-05/0.2397, allocations: 106.4 kB / 0.6507 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.2399, allocations: 47.14 kB / 0.6507 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.2399, allocations: 19.09 kB / 0.6507 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.2401, allocations: 29.91 kB / 0.6508 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.225e-05/0.2401, allocations: 34.47 kB / 0.6508 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2401, allocations: 0.8125 kB / 0.6508 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0001606/0.2402, allocations: 66.45 kB / 0.6509 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.2403, allocations: 57.12 kB / 0.6509 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.417e-05/0.2403, allocations: 106.5 kB / 0.651 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.2403, allocations: 28.11 kB / 0.6511 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.747e-06/0.2403, allocations: 80.66 kB / 0.6511 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.2403, allocations: 20.12 kB / 0.6511 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.2403, allocations: 14.38 kB / 0.6512 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.021e-05/0.2404, allocations: 318.6 kB / 0.6515 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.709e-05/0.2404, allocations: 7.109 kB / 0.6515 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.353e-05/0.2404, allocations: 12.98 kB / 0.6515 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.167e-05/0.2405, allocations: 30.31 kB / 0.6515 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2405, allocations: 0.9688 kB / 0.6515 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.068e-05/0.2406, allocations: 67.5 kB / 0.6516 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2406, allocations: 6.656 kB / 0.6516 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2406, allocations: 0 / 0.6516 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.2406, allocations: 0 / 0.6516 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.618e-05/0.2406, allocations: 8.641 kB / 0.6516 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.2406, allocations: 3.938 kB / 0.6516 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.2406, allocations: 2.859 kB / 0.6516 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.2406, allocations: 1.25 kB / 0.6516 GB, free: 54.96 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 3.664e-05/0.2407, allocations: 112.3 kB / 0.6517 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-06/0.2407, allocations: 2.781 kB / 0.6517 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.2408, allocations: 71.94 kB / 0.6518 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2408, allocations: 3.094 kB / 0.6518 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2408, allocations: 0.5156 kB / 0.6518 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2408, allocations: 4.781 kB / 0.6518 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.111e-05/0.2408, allocations: 108.6 kB / 0.6519 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2408, allocations: 1.344 kB / 0.6519 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.2409, allocations: 9.031 kB / 0.6519 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.2409, allocations: 0.75 kB / 0.6519 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.2409, allocations: 1.469 kB / 0.6519 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.2409, allocations: 3.094 kB / 0.6519 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2409, allocations: 1.188 kB / 0.6519 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.416e-05/0.2409, allocations: 89.83 kB / 0.652 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.241, allocations: 4.719 kB / 0.652 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.241, allocations: 1.031 kB / 0.652 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.331e-05/0.241, allocations: 3.047 kB / 0.652 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.241, allocations: 7.047 kB / 0.652 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.241, allocations: 2.141 kB / 0.652 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.362e-05/0.2411, allocations: 85.53 kB / 0.6521 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2411, allocations: 0 / 0.6521 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001577/0.2412, allocations: 43.61 kB / 0.6521 GB, free: 54.52 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.0001581/0.2414, allocations: 141.3 kB / 0.6523 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.495e-05/0.2415, allocations: 28.61 kB / 0.6523 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.2415, allocations: 0 / 0.6523 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.56e-05/0.2415, allocations: 12.61 kB / 0.6523 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.2417, allocations: 8.969 kB / 0.6523 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/0.2419, allocations: 141.9 kB / 0.6525 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.66e-05/0.2419, allocations: 66.91 kB / 0.6525 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.2419, allocations: 12.22 kB / 0.6525 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of SimCode: time 3.71e-07/0.2419, allocations: 0 / 0.6525 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of Templates: time 0.001818/0.2437, allocations: 1.05 MB / 0.6536 GB, free: 54.12 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.417809552513063] Failed to read output from testmodel.py, exit status != 0: 0.24947698507457972 0.25677819499999993 0.016225083 Calling exit ...