Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.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.0008223/0.0008223, 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.0009601/0.0009601, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9019/0.9019, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7289/0.7289, allocations: 154.6 MB / 413.8 MB, free: 0.7773 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.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.883e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001756/0.001775, allocations: 1.38 MB / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002612/0.004387, allocations: 2.758 MB / 0.6221 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.21e-05/0.004429, allocations: 0 / 0.6221 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.264e-05/0.004522, allocations: 7.922 kB / 0.6221 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.004641, allocations: 43.75 kB / 0.6222 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005396/0.005181, allocations: 191 kB / 0.6224 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.005393, allocations: 251.4 kB / 0.6226 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.005444, allocations: 4 kB / 0.6226 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.005545, allocations: 115.8 kB / 0.6227 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.00566, allocations: 123.8 kB / 0.6228 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.005688, allocations: 12 kB / 0.6228 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003123/0.006001, allocations: 151.6 kB / 0.623 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.323e-05/0.006084, allocations: 87.78 kB / 0.6231 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.489e-05/0.006149, allocations: 75.88 kB / 0.6231 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.006446, allocations: 299.2 kB / 0.6234 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.00645, allocations: 0 / 0.6234 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.823e-06/0.006452, allocations: 0 / 0.6234 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.006457, allocations: 0 / 0.6234 GB, free: 8.141 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007367/0.007194, allocations: 477.1 kB / 0.6239 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.00724, allocations: 8.031 kB / 0.6239 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.81e-05/0.007288, allocations: 50.73 kB / 0.6239 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.883e-05/0.007386, allocations: 24.84 kB / 0.624 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.007585, allocations: 181.5 kB / 0.6241 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.007624, allocations: 24.36 kB / 0.6242 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.007646, allocations: 12.38 kB / 0.6242 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.008042, allocations: 290.3 kB / 0.6244 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.008054, allocations: 4.172 kB / 0.6244 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.008074, allocations: 15.94 kB / 0.6245 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.008082, allocations: 4 kB / 0.6245 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008168/0.008899, allocations: 0.7217 MB / 0.6252 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.009167, allocations: 256.5 kB / 0.6254 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009279/0.01009, allocations: 0.6506 MB / 0.6261 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.01037, allocations: 208.7 kB / 0.6263 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/0.01059, allocations: 83.95 kB / 0.6263 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.01062, allocations: 38.5 kB / 0.6264 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=37): time 1.653e-06/0.01062, allocations: 0 / 0.6264 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of matching and sorting (n=37): time 0.0009584/0.01158, allocations: 0.6609 MB / 0.627 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.01162, allocations: 55.41 kB / 0.6271 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/0.0117, allocations: 122.1 kB / 0.6272 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.01172, allocations: 29.7 kB / 0.6272 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.01175, allocations: 96.78 kB / 0.6273 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.92e-05/0.01183, allocations: 130.8 kB / 0.6274 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.207e-05/0.0119, allocations: 65.69 kB / 0.6275 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.645e-05/0.01198, allocations: 330.8 kB / 0.6278 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.01224, allocations: 187.8 kB / 0.628 GB, free: 3.277 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.0125, allocations: 199.8 kB / 0.6282 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004863/0.01299, allocations: 369.8 kB / 0.6285 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01299, allocations: 0 / 0.6285 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006021/0.01359, allocations: 464.7 kB / 0.629 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.01361, allocations: 10.03 kB / 0.629 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01362, allocations: 3.938 kB / 0.629 GB, free: 2.246 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.01364, allocations: 3.938 kB / 0.629 GB, free: 2.242 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.01384, allocations: 103.8 kB / 0.6291 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.01385, allocations: 4 kB / 0.6291 GB, free: 2.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.396e-05/0.01394, allocations: 39.86 kB / 0.6291 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.01396, allocations: 11.98 kB / 0.6291 GB, free: 2.086 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 (37): * Single equations (assignments): 37 * 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 9.881e-05/0.01406, allocations: 146.7 kB / 0.6293 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.01408, allocations: 15.91 kB / 0.6293 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007028/0.01479, allocations: 0.5239 MB / 0.6298 GB, free: 1.395 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.01479, allocations: 7.938 kB / 0.6298 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.0148, allocations: 0 / 0.6298 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.0148, allocations: 4 kB / 0.6298 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.01502, allocations: 264.5 kB / 0.6301 GB, free: 1.082 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01502, allocations: 3.984 kB / 0.6301 GB, free: 1.078 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.0152, allocations: 95.86 kB / 0.6302 GB, free: 0.9844 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.0152, allocations: 7.984 kB / 0.6302 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.01522, allocations: 15.92 kB / 0.6302 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01522, allocations: 0 / 0.6302 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.01522, allocations: 0 / 0.6302 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007016/0.01592, allocations: 0.4923 MB / 0.6307 GB, free: 460 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.01594, allocations: 23.8 kB / 0.6307 GB, free: 436 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.01597, allocations: 15.88 kB / 0.6307 GB, free: 420 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.01605, allocations: 35.95 kB / 0.6307 GB, free: 384 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.0162, allocations: 115.8 kB / 0.6309 GB, free: 268 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.01622, allocations: 15.98 kB / 0.6309 GB, free: 252 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.426e-05/0.01626, allocations: 98.14 kB / 0.631 GB, free: 156 kB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01626, allocations: 4 kB / 0.631 GB, free: 152 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002538/0.01652, allocations: 119.7 kB / 0.6311 GB, free: 32 kB / 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 (37): * Single equations (assignments): 37 * 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.001051/0.01757, allocations: 1.127 MB / 0.6322 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000628/0.0182, allocations: 455.2 kB / 0.6326 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.0182, allocations: 0 / 0.6326 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.01849, allocations: 244.6 kB / 0.6328 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.01878, allocations: 75.92 kB / 0.6329 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.02136, allocations: 2.678 MB / 0.6355 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.5e-05/0.02143, allocations: 118.6 kB / 0.6356 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002449/0.02168, allocations: 182.8 kB / 0.6358 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.02178, allocations: 64.47 kB / 0.6359 GB, free: 11 MB / 0.6042 GB Notification: Performance of SimCode: time 6.61e-07/0.02178, allocations: 0 / 0.6359 GB, free: 11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.04531, allocations: 8.521 MB / 0.6442 GB, free: 2.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.413/7.458, allocations: 4 kB / 0.6442 GB, free: 2.746 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater_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_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.417272876016796] Failed to read output from testmodel.py, exit status != 0: 7.5377416256815195 7.545993625 7.5379099179999995 Calling exit ...