Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0009528/0.0009528, 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.0008014/0.0008014, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8773/0.8773, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6973/0.6973, allocations: 154.6 MB / 414.5 MB, free: 0.7812 MB / 378.7 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 179] 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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.718e-05, allocations: 3.125 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001927/0.001954, allocations: 1.501 MB / 0.6208 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009366/0.002891, allocations: 0.7555 MB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.646e-05/0.002928, allocations: 4 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.002958, allocations: 7.875 kB / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.883e-05/0.003007, allocations: 11.86 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.003398, allocations: 135.3 kB / 0.6217 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.443e-05/0.003482, allocations: 55.72 kB / 0.6217 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.003583, allocations: 19.86 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.81e-05/0.003641, allocations: 31.97 kB / 0.6218 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.189e-05/0.003683, allocations: 19.97 kB / 0.6218 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.003699, allocations: 7.938 kB / 0.6218 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002312/0.00393, allocations: 159.7 kB / 0.622 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.003946, allocations: 7.938 kB / 0.622 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.003969, allocations: 11.98 kB / 0.622 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.004197, allocations: 171.5 kB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.0042, allocations: 0 / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.593e-06/0.004201, allocations: 4 kB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.004206, allocations: 0 / 0.6221 GB, free: 10.3 MB / 0.5886 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.0004124/0.004619, allocations: 329.8 kB / 0.6225 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.004656, allocations: 8.031 kB / 0.6225 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.004689, allocations: 4.938 kB / 0.6225 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.245e-05/0.004771, allocations: 121.6 kB / 0.6226 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.004782, allocations: 384 / 0.6226 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.004792, allocations: 4.375 kB / 0.6226 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.004963, allocations: 78.22 kB / 0.6227 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.00497, allocations: 192 / 0.6227 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.00498, allocations: 384 / 0.6227 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004985, allocations: 384 / 0.6227 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.005128, allocations: 67.86 kB / 0.6227 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.005433, allocations: 228.4 kB / 0.6229 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.005559, allocations: 54.53 kB / 0.623 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.318e-05/0.005632, allocations: 36.92 kB / 0.623 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.005752, allocations: 11.98 kB / 0.623 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.005774, allocations: 38.5 kB / 0.6231 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.005775, allocations: 0 / 0.6231 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003132/0.006088, allocations: 137.5 kB / 0.6232 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.006119, allocations: 51.41 kB / 0.6233 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.788e-05/0.006187, allocations: 113.8 kB / 0.6234 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.006197, allocations: 25.7 kB / 0.6234 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.006237, allocations: 88.09 kB / 0.6235 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.006257, allocations: 19.88 kB / 0.6235 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.006284, allocations: 13.72 kB / 0.6235 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.006364, allocations: 318.8 kB / 0.6238 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.53e-05/0.006439, allocations: 27.95 kB / 0.6238 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.006504, allocations: 31.97 kB / 0.6239 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.006635, allocations: 68.78 kB / 0.6239 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006637, allocations: 7.938 kB / 0.6239 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001675/0.006804, allocations: 105.5 kB / 0.624 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.006817, allocations: 4 kB / 0.624 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.006822, allocations: 0 / 0.624 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.006835, allocations: 0 / 0.624 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/0.006911, allocations: 19.97 kB / 0.6241 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.006916, allocations: 4 kB / 0.6241 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.601e-05/0.006952, allocations: 19.92 kB / 0.6241 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.006958, allocations: 336 / 0.6241 GB, free: 8.121 MB / 0.5886 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 6.157e-05/0.00702, allocations: 114.8 kB / 0.6242 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.007033, allocations: 7.891 kB / 0.6242 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.007237, allocations: 109.5 kB / 0.6243 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.007239, allocations: 4 kB / 0.6243 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.007243, allocations: 0 / 0.6243 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.007246, allocations: 4 kB / 0.6243 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.007347, allocations: 117.3 kB / 0.6244 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.007349, allocations: 0 / 0.6244 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/0.007391, allocations: 11.98 kB / 0.6244 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.007395, allocations: 4 kB / 0.6244 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.007403, allocations: 3.938 kB / 0.6244 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007404, allocations: 0 / 0.6244 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.007405, allocations: 0 / 0.6244 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.007604, allocations: 199.4 kB / 0.6246 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.126e-06/0.007612, allocations: 7.953 kB / 0.6246 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.007624, allocations: 3.938 kB / 0.6246 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.905e-05/0.007673, allocations: 11.98 kB / 0.6247 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.007715, allocations: 3.984 kB / 0.6247 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.007719, allocations: 4 kB / 0.6247 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.387e-05/0.007753, allocations: 87.59 kB / 0.6248 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.007753, allocations: 4 kB / 0.6248 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001953/0.007948, allocations: 39.86 kB / 0.6248 GB, free: 7.332 MB / 0.5886 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.0001937/0.008142, allocations: 135.2 kB / 0.6249 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.008341, allocations: 63.92 kB / 0.625 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.008342, allocations: 4 kB / 0.625 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.057e-05/0.008413, allocations: 39.91 kB / 0.625 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.008651, allocations: 9.875 kB / 0.625 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.008945, allocations: 162.5 kB / 0.6252 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.748e-05/0.008992, allocations: 71.33 kB / 0.6253 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.009018, allocations: 8.5 kB / 0.6253 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of SimCode: time 7.11e-07/0.009019, allocations: 4 kB / 0.6253 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of Templates: time 0.002263/0.01128, allocations: 1.243 MB / 0.6265 GB, free: 5.543 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.891400468535721] Failed to read output from testmodel.py, exit status != 0: 0.01724697183817625 0.025259777 0.019195828 Calling exit ...