Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007253/0.0007253, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009702/0.001696, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001091/0.001091, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001371/0.002462, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9584/0.9584, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09093/1.049, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.8001/0.8001, allocations: 155.4 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2903/1.09, allocations: 49.13 MB / 448.6 MB, free: 5.906 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 450 MB, free: 4.594 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.637e-05, allocations: 5.188 kB / 450 MB, free: 4.59 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002808/0.002834, allocations: 1.352 MB / 451.3 MB, free: 3.254 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.004124, allocations: 0.851 MB / 452.2 MB, free: 2.418 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.00415, allocations: 5.281 kB / 452.2 MB, free: 2.414 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.746e-06/0.004158, allocations: 0 / 452.2 MB, free: 2.414 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.142e-05/0.00419, allocations: 2.188 kB / 452.2 MB, free: 2.414 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.004561, allocations: 131.2 kB / 452.3 MB, free: 2.301 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.662e-05/0.004637, allocations: 28.02 kB / 452.3 MB, free: 2.281 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.004675, allocations: 8.094 kB / 452.3 MB, free: 2.277 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.373e-05/0.004739, allocations: 24.91 kB / 452.4 MB, free: 2.254 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.004795, allocations: 7.984 kB / 452.4 MB, free: 2.246 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.004807, allocations: 0 / 452.4 MB, free: 2.246 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.005047, allocations: 169.6 kB / 452.5 MB, free: 2.082 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.005063, allocations: 3.984 kB / 452.5 MB, free: 2.078 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.5e-05/0.005078, allocations: 8 kB / 452.6 MB, free: 2.07 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.005294, allocations: 119.6 kB / 452.7 MB, free: 1.953 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/0.005307, allocations: 0 / 452.7 MB, free: 1.953 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.005309, allocations: 0.5625 kB / 452.7 MB, free: 1.953 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.005318, allocations: 0 / 452.7 MB, free: 1.953 MB / 426.7 MB 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.0004101/0.005728, allocations: 279 kB / 452.9 MB, free: 1.656 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.00576, allocations: 8.75 kB / 453 MB, free: 1.648 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.005792, allocations: 8.938 kB / 453 MB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.09e-05/0.005873, allocations: 111.8 kB / 453.1 MB, free: 1.508 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-05/0.005947, allocations: 63.95 kB / 453.1 MB, free: 1.434 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.005958, allocations: 4.312 kB / 453.1 MB, free: 1.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.006064, allocations: 81.62 kB / 453.2 MB, free: 1.336 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.006071, allocations: 192 / 453.2 MB, free: 1.336 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.006079, allocations: 1.578 kB / 453.2 MB, free: 1.336 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.006086, allocations: 4.125 kB / 453.2 MB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.061e-05/0.006107, allocations: 4.594 kB / 453.2 MB, free: 1.328 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.097e-05/0.006198, allocations: 66.44 kB / 453.3 MB, free: 1.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.006333, allocations: 35.22 kB / 453.3 MB, free: 1.207 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.352e-05/0.006347, allocations: 9 kB / 453.3 MB, free: 1.195 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.006479, allocations: 30.25 kB / 453.4 MB, free: 1.168 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.006503, allocations: 38.48 kB / 453.4 MB, free: 1.121 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.006504, allocations: 4 kB / 453.4 MB, free: 1.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001186/0.006623, allocations: 43.09 kB / 453.4 MB, free: 1.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.006733, allocations: 51.41 kB / 453.5 MB, free: 1.008 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.764e-05/0.006781, allocations: 99.38 kB / 453.6 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.006791, allocations: 26.64 kB / 453.6 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.032e-05/0.006812, allocations: 80.14 kB / 453.7 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.006837, allocations: 20.41 kB / 453.7 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.006861, allocations: 21.69 kB / 453.7 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.505e-05/0.006936, allocations: 315.4 kB / 454 MB, free: 432 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.006947, allocations: 5.906 kB / 454.1 MB, free: 428 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-06/0.006956, allocations: 4 kB / 454.1 MB, free: 424 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.671e-05/0.006983, allocations: 23.64 kB / 454.1 MB, free: 400 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006984, allocations: 0 / 454.1 MB, free: 400 kB / 426.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.282e-05/0.007027, allocations: 43.38 kB / 454.1 MB, free: 352 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.007038, allocations: 4 kB / 454.1 MB, free: 348 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.007042, allocations: 0 / 454.1 MB, free: 348 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.007054, allocations: 0 / 454.1 MB, free: 348 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.752e-05/0.007092, allocations: 15.98 kB / 454.1 MB, free: 332 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-06/0.007094, allocations: 0.5625 kB / 454.1 MB, free: 332 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.147e-05/0.007105, allocations: 1.25 kB / 454.1 MB, free: 332 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.00711, allocations: 7.938 kB / 454.2 MB, free: 324 kB / 426.7 MB 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.537e-05/0.007156, allocations: 109.8 kB / 454.3 MB, free: 204 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-06/0.007161, allocations: 4.75 kB / 454.3 MB, free: 200 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.565e-05/0.007227, allocations: 49.36 kB / 454.3 MB, free: 140 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.007228, allocations: 0.625 kB / 454.3 MB, free: 140 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.007231, allocations: 8.562 kB / 454.3 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.007233, allocations: 0 / 454.3 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.068e-05/0.007284, allocations: 70.45 kB / 454.4 MB, free: 44 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.007285, allocations: 0 / 454.4 MB, free: 44 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.007304, allocations: 12.61 kB / 454.4 MB, free: 32 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.007326, allocations: 8 kB / 454.4 MB, free: 24 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.007328, allocations: 0.625 kB / 454.4 MB, free: 24 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-06/0.007332, allocations: 0.625 kB / 454.4 MB, free: 24 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.007333, allocations: 0 / 454.4 MB, free: 24 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.007336, allocations: 8.922 kB / 454.4 MB, free: 16 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.661e-05/0.007403, allocations: 73.88 kB / 454.5 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-06/0.00741, allocations: 5.562 kB / 454.5 MB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.912e-05/0.007429, allocations: 0 / 454.5 MB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.007454, allocations: 4 kB / 454.5 MB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.007459, allocations: 7.984 kB / 454.5 MB, free: 15.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.654e-06/0.007467, allocations: 5.766 kB / 454.5 MB, free: 15.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007467, allocations: 0 / 454.5 MB, free: 15.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001351/0.007602, allocations: 35.81 kB / 454.5 MB, free: 15.87 MB / 442.7 MB 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.0001769/0.007779, allocations: 125.8 kB / 454.7 MB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.261e-05/0.007841, allocations: 24.17 kB / 454.7 MB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.007846, allocations: 7.938 kB / 454.7 MB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.107e-05/0.007867, allocations: 16.8 kB / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.007969, allocations: 20.58 kB / 454.7 MB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007511/0.00872, allocations: 127.5 kB / 454.9 MB, free: 15.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.145e-05/0.008751, allocations: 60.78 kB / 454.9 MB, free: 15.44 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.835e-05/0.00878, allocations: 6.75 kB / 454.9 MB, free: 15.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.008828, allocations: 63.36 kB / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008828, allocations: 0 / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of Templates: time 0.002647/0.01148, allocations: 1.269 MB / 456.3 MB, free: 14.2 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5968774696812034]