Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001693/0.001693, allocations: 78.64 kB / 19.18 MB, free: 2.527 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.001434/0.001434, allocations: 164.6 kB / 22.46 MB, free: 5.359 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.467/1.467, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.242/1.242, allocations: 154.6 MB / 413.8 MB, free: 5.238 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.827e-06/3.827e-06, allocations: 0 / 0.6186 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.587e-05/5.969e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00514/0.005199, allocations: 1.293 MB / 0.6198 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002435/0.007634, allocations: 0.7672 MB / 0.6206 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.007659, allocations: 4 kB / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.007678, allocations: 0 / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.246e-05/0.00775, allocations: 3.938 kB / 0.6206 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008461/0.008596, allocations: 135.2 kB / 0.6207 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.008719, allocations: 35.8 kB / 0.6208 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.967e-05/0.008768, allocations: 4 kB / 0.6208 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.777e-05/0.008856, allocations: 15.98 kB / 0.6208 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.008929, allocations: 11.92 kB / 0.6208 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.008946, allocations: 0 / 0.6208 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005634/0.00951, allocations: 159.7 kB / 0.6209 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.009547, allocations: 7.938 kB / 0.621 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.009584, allocations: 4 kB / 0.621 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004793/0.01006, allocations: 151.6 kB / 0.6211 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.01007, allocations: 0 / 0.6211 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.392e-06/0.01007, allocations: 0 / 0.6211 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.01007, allocations: 3.938 kB / 0.6211 GB, free: 2.004 MB / 0.5294 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.0006702/0.01074, allocations: 282.1 kB / 0.6214 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.01079, allocations: 8.031 kB / 0.6214 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.01085, allocations: 8.891 kB / 0.6214 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.011, allocations: 105.7 kB / 0.6215 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.01114, allocations: 59.97 kB / 0.6215 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.01116, allocations: 384 / 0.6215 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.01142, allocations: 83.92 kB / 0.6216 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.01143, allocations: 192 / 0.6216 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.01144, allocations: 384 / 0.6216 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.01145, allocations: 4.125 kB / 0.6216 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.01163, allocations: 23.92 kB / 0.6217 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000221/0.01185, allocations: 101.3 kB / 0.6218 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.01219, allocations: 38.61 kB / 0.6218 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.0123, allocations: 20.94 kB / 0.6218 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003267/0.01263, allocations: 27.97 kB / 0.6218 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.157e-05/0.01268, allocations: 38.56 kB / 0.6219 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.01268, allocations: 0 / 0.6219 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0004211/0.0131, allocations: 65.61 kB / 0.6219 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.01315, allocations: 55.41 kB / 0.622 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.01327, allocations: 101.8 kB / 0.6221 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.0133, allocations: 25.7 kB / 0.6221 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.01336, allocations: 84.14 kB / 0.6222 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.01341, allocations: 15.89 kB / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/0.01346, allocations: 17.72 kB / 0.6222 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002061/0.01367, allocations: 318.8 kB / 0.6225 GB, free: 372 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-05/0.01376, allocations: 7.984 kB / 0.6225 GB, free: 364 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.449e-05/0.01385, allocations: 11.94 kB / 0.6225 GB, free: 352 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.01404, allocations: 28.84 kB / 0.6226 GB, free: 320 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.01404, allocations: 0 / 0.6226 GB, free: 320 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002677/0.01431, allocations: 57.58 kB / 0.6226 GB, free: 256 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.01434, allocations: 19.92 kB / 0.6226 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01434, allocations: 0 / 0.6226 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.01436, allocations: 0 / 0.6226 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.01447, allocations: 12 kB / 0.6227 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.01448, allocations: 3.938 kB / 0.6227 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.394e-05/0.01453, allocations: 0 / 0.6227 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.01454, allocations: 0 / 0.6227 GB, free: 220 kB / 0.5294 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 0.0001261/0.01466, allocations: 110.8 kB / 0.6228 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.01469, allocations: 4.5 kB / 0.6228 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.01501, allocations: 73.3 kB / 0.6228 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.01502, allocations: 4.031 kB / 0.6228 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.01502, allocations: 0 / 0.6228 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.01503, allocations: 3.938 kB / 0.6229 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.01521, allocations: 109.3 kB / 0.623 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01521, allocations: 0 / 0.623 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.832e-05/0.0153, allocations: 11.98 kB / 0.623 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.01531, allocations: 4 kB / 0.623 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.01532, allocations: 0 / 0.623 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01532, allocations: 0 / 0.623 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01532, allocations: 0 / 0.623 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.01562, allocations: 96.94 kB / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.01567, allocations: 4 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.01569, allocations: 0 / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.01578, allocations: 3.984 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.01583, allocations: 4 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-06/0.01583, allocations: 0 / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.978e-05/0.0159, allocations: 87.22 kB / 0.6232 GB, free: 15.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.0159, allocations: 0 / 0.6232 GB, free: 15.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004483/0.01635, allocations: 35.86 kB / 0.6232 GB, free: 15.61 MB / 0.545 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.0003928/0.01675, allocations: 147 kB / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.01699, allocations: 27.98 kB / 0.6234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.01699, allocations: 0 / 0.6234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.01709, allocations: 15.92 kB / 0.6234 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.01747, allocations: 18.61 kB / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.01781, allocations: 108.8 kB / 0.6235 GB, free: 15.26 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.502e-05/0.01786, allocations: 67.34 kB / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.511e-05/0.0179, allocations: 0 / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.01792, allocations: 12.5 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.01792, allocations: 0 / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of Templates: time 0.004384/0.02231, allocations: 1.125 MB / 0.6247 GB, free: 14.05 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.857799682766199] Failed to read output from testmodel.py, exit status != 0: 0.03489944711327553 0.046706785 0.033443959 Calling exit ...