Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.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.0008152/0.0008152, 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.0008393/0.0008393, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8757/0.8757, allocations: 177.1 MB / 202.8 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.6914/0.6914, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.272e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.001422/0.001445, allocations: 0.7313 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007846/0.002229, allocations: 0.9094 MB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.002271, allocations: 0 / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.002298, allocations: 3.938 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.468e-05/0.002383, allocations: 19.8 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.002577, allocations: 43.86 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.002679, allocations: 99.64 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.942e-05/0.002769, allocations: 15.98 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.879e-05/0.002857, allocations: 59.86 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.002929, allocations: 43.89 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.002947, allocations: 8 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.304e-05/0.00299, allocations: 11.98 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.003009, allocations: 15.98 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.003038, allocations: 27.91 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.003169, allocations: 103.6 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003171, allocations: 0 / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003173, allocations: 0 / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.003176, allocations: 0 / 0.6201 GB, free: 11.59 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004585/0.003635, allocations: 334 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.003671, allocations: 15.97 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.152e-05/0.003702, allocations: 38.73 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.003899, allocations: 40.86 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.919e-05/0.003978, allocations: 129 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.003988, allocations: 384 / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.004, allocations: 8.375 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.004199, allocations: 123.9 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.004206, allocations: 4.125 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.004218, allocations: 4.375 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.004224, allocations: 8.125 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.00441, allocations: 95.91 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.004842, allocations: 391.9 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.005076, allocations: 113.1 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.005177, allocations: 65.67 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.005189, allocations: 0 / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.005207, allocations: 34.56 kB / 0.6215 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.005208, allocations: 0 / 0.6215 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0003787/0.005587, allocations: 177.4 kB / 0.6216 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.005619, allocations: 77.11 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.407e-05/0.005703, allocations: 148.1 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.005715, allocations: 25.7 kB / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.005763, allocations: 100.1 kB / 0.622 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.005778, allocations: 19.8 kB / 0.622 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.005815, allocations: 25.7 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.005893, allocations: 322.8 kB / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.865e-05/0.005981, allocations: 43.95 kB / 0.6224 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.958e-05/0.006071, allocations: 65.67 kB / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.006248, allocations: 113.9 kB / 0.6225 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.00625, allocations: 0 / 0.6225 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002075/0.006457, allocations: 141.5 kB / 0.6227 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.006469, allocations: 4 kB / 0.6227 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.006474, allocations: 4 kB / 0.6227 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.006484, allocations: 3.938 kB / 0.6227 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.856e-05/0.006563, allocations: 23.97 kB / 0.6227 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.006567, allocations: 3.938 kB / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.568e-05/0.006623, allocations: 19.98 kB / 0.6227 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.006631, allocations: 3.984 kB / 0.6227 GB, free: 8.688 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.137e-05/0.006692, allocations: 122.8 kB / 0.6228 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.006716, allocations: 7.953 kB / 0.6228 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.00699, allocations: 181.7 kB / 0.623 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.006993, allocations: 8 kB / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.007, allocations: 7.984 kB / 0.623 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.007003, allocations: 0 / 0.623 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.007168, allocations: 168.7 kB / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.007169, allocations: 0 / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.943e-05/0.007249, allocations: 35.97 kB / 0.6232 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.007251, allocations: 0 / 0.6232 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.007258, allocations: 0 / 0.6232 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.00726, allocations: 3.938 kB / 0.6232 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.007261, allocations: 4 kB / 0.6232 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.007514, allocations: 330.6 kB / 0.6236 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.007549, allocations: 19.88 kB / 0.6236 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.007563, allocations: 3.953 kB / 0.6236 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.007649, allocations: 15.98 kB / 0.6236 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.007692, allocations: 7.984 kB / 0.6236 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.007698, allocations: 8 kB / 0.6236 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.46e-05/0.007753, allocations: 118 kB / 0.6237 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.007753, allocations: 4 kB / 0.6237 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001844/0.007937, allocations: 20 kB / 0.6237 GB, free: 7.566 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * 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.000426/0.008363, allocations: 0.851 MB / 0.6246 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.008586, allocations: 107.8 kB / 0.6247 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.008587, allocations: 3.938 kB / 0.6247 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.9e-05/0.008686, allocations: 71.81 kB / 0.6247 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.008997, allocations: 32.33 kB / 0.6248 GB, free: 6.477 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.01041, allocations: 1.727 MB / 0.6265 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.475e-05/0.01047, allocations: 89.44 kB / 0.6265 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.512e-05/0.01053, allocations: 16.36 kB / 0.6266 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/0.01059, allocations: 36.48 kB / 0.6266 GB, free: 4.492 MB / 0.5886 GB Notification: Performance of SimCode: time 8.12e-07/0.01059, allocations: 0 / 0.6266 GB, free: 4.492 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.02794, allocations: 3.991 MB / 0.6305 GB, free: 0.707 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.874/6.901, allocations: 9.328 kB / 0.6305 GB, free: 0.707 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.566184288822114] Failed to read output from testmodel.py, exit status != 0: 6.984089650213718 6.99442931 6.989477421 Calling exit ...