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.0007731/0.0007731, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000873/0.000873, allocations: 165.9 kB / 22.45 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.8585/0.8585, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7035/0.7035, allocations: 154.6 MB / 413.7 MB, free: 0.8047 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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.091e-05, allocations: 8.719 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00198/0.002001, allocations: 1.494 MB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008859/0.002887, allocations: 0.7671 MB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.002926, allocations: 4 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.002954, allocations: 3.938 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.906e-05/0.003003, allocations: 7.875 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.003403, allocations: 135.3 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.067e-05/0.003483, allocations: 63.72 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.384e-05/0.003577, allocations: 8 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.044e-05/0.003628, allocations: 27.91 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.67e-05/0.003664, allocations: 19.92 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.003678, allocations: 4 kB / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.003899, allocations: 167.7 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.003914, allocations: 7.938 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.003936, allocations: 19.98 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.004132, allocations: 171.5 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004134, allocations: 0 / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004135, allocations: 0 / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.004139, allocations: 0 / 0.6209 GB, free: 10.79 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.0003728/0.004511, allocations: 329.8 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.004548, allocations: 8.031 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.959e-05/0.004577, allocations: 34.75 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.004601, allocations: 4.938 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.195e-05/0.004682, allocations: 117.7 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.004692, allocations: 4.375 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.0047, allocations: 4.375 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.004862, allocations: 70.22 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.004869, allocations: 192 / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.004881, allocations: 4.375 kB / 0.6215 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.004887, allocations: 4.125 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.005033, allocations: 71.92 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.005344, allocations: 247.8 kB / 0.6218 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.005467, allocations: 54.47 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.39e-05/0.00554, allocations: 40.92 kB / 0.6219 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.005652, allocations: 11.98 kB / 0.6219 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.005673, allocations: 34.56 kB / 0.6219 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.005674, allocations: 0 / 0.6219 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003031/0.005977, allocations: 137.5 kB / 0.622 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.006006, allocations: 51.41 kB / 0.6221 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.238e-05/0.006069, allocations: 113.8 kB / 0.6222 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.006079, allocations: 37.69 kB / 0.6222 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.006114, allocations: 88.2 kB / 0.6223 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.006129, allocations: 11.95 kB / 0.6223 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.006154, allocations: 9.719 kB / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.006226, allocations: 322.8 kB / 0.6226 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.141e-05/0.006298, allocations: 27.97 kB / 0.6227 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.421e-05/0.006362, allocations: 35.95 kB / 0.6227 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.00649, allocations: 68.73 kB / 0.6228 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.006492, allocations: 3.938 kB / 0.6228 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001552/0.006647, allocations: 113.4 kB / 0.6229 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.006658, allocations: 6.188 kB / 0.6229 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006662, allocations: 0 / 0.6229 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.006672, allocations: 4.328 kB / 0.6229 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.667e-05/0.006739, allocations: 15.98 kB / 0.6229 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.006743, allocations: 0 / 0.6229 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.343e-05/0.006777, allocations: 11.98 kB / 0.6229 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.006783, allocations: 0 / 0.6229 GB, free: 8.531 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 5.888e-05/0.006842, allocations: 118.8 kB / 0.623 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.006855, allocations: 7.891 kB / 0.623 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.007043, allocations: 117.5 kB / 0.6231 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.007044, allocations: 0 / 0.6231 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.007048, allocations: 4 kB / 0.6231 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.007051, allocations: 0 / 0.6231 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.007153, allocations: 132.7 kB / 0.6233 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007154, allocations: 4 kB / 0.6233 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.007194, allocations: 19.97 kB / 0.6233 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.007195, allocations: 0 / 0.6233 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.0072, allocations: 4 kB / 0.6233 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.007201, allocations: 0 / 0.6233 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007202, allocations: 0 / 0.6233 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.007386, allocations: 199.4 kB / 0.6235 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.007397, allocations: 7.922 kB / 0.6235 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.007408, allocations: 7.938 kB / 0.6235 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.636e-05/0.007455, allocations: 7.984 kB / 0.6235 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.007496, allocations: 12 kB / 0.6235 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.007499, allocations: 3.984 kB / 0.6235 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.007534, allocations: 87.28 kB / 0.6236 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007534, allocations: 0 / 0.6236 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001889/0.007723, allocations: 35.86 kB / 0.6236 GB, free: 7.699 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.0004446/0.008167, allocations: 0.7668 MB / 0.6244 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.008352, allocations: 67.86 kB / 0.6245 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.008354, allocations: 4 kB / 0.6245 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.851e-05/0.008423, allocations: 35.95 kB / 0.6245 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.00863, allocations: 15.17 kB / 0.6245 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.009825, allocations: 1.428 MB / 0.6259 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.499e-05/0.00987, allocations: 69.91 kB / 0.626 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.009896, allocations: 4 kB / 0.626 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.009935, allocations: 16.48 kB / 0.626 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.009935, allocations: 0 / 0.626 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.02443, allocations: 3.229 MB / 0.6291 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.736/6.761, allocations: 7.766 kB / 0.6292 GB, free: 2.098 MB / 0.5886 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.350733024068177] Failed to read output from testmodel.py, exit status != 0: 6.839736595749855 6.84971465 6.8439482289999996 Calling exit ...