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.001383/0.001383, allocations: 79.44 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001575/0.001575, allocations: 163.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.524/1.524, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.226/1.226, allocations: 154.6 MB / 413.8 MB, free: 5.238 MB / 382.1 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 178] 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.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.421e-05/3.647e-05, allocations: 6.219 kB / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.00286/0.002896, allocations: 1.382 MB / 0.6199 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0041/0.006997, allocations: 2.762 MB / 0.6226 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.007044, allocations: 0 / 0.6226 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.007158, allocations: 7.938 kB / 0.6226 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.007297, allocations: 43.73 kB / 0.6227 GB, free: 348 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000703/0.008, allocations: 190.9 kB / 0.6228 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.008316, allocations: 243.5 kB / 0.6231 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.008364, allocations: 4 kB / 0.6231 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.008516, allocations: 119.8 kB / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.008689, allocations: 119.8 kB / 0.6233 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.038e-05/0.00874, allocations: 15.94 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.009155, allocations: 139.8 kB / 0.6235 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.009269, allocations: 99.78 kB / 0.6236 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.009383, allocations: 79.81 kB / 0.6236 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004863/0.009869, allocations: 299.2 kB / 0.6239 GB, free: 15.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.009873, allocations: 0 / 0.6239 GB, free: 15.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.009875, allocations: 0 / 0.6239 GB, free: 15.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.009882, allocations: 0 / 0.6239 GB, free: 15.05 MB / 0.545 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.001/0.01088, allocations: 476.9 kB / 0.6244 GB, free: 14.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.01092, allocations: 8.031 kB / 0.6244 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.01106, allocations: 20.8 kB / 0.6244 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.01134, allocations: 177.5 kB / 0.6246 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.388e-05/0.0114, allocations: 28.36 kB / 0.6246 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.01143, allocations: 16.31 kB / 0.6246 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007351/0.01217, allocations: 286.6 kB / 0.6249 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.01218, allocations: 192 / 0.6249 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.01221, allocations: 12.12 kB / 0.6249 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.01222, allocations: 4 kB / 0.6249 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.01386, allocations: 0.7269 MB / 0.6256 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.01425, allocations: 225.1 kB / 0.6258 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.01596, allocations: 0.6449 MB / 0.6265 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005147/0.01647, allocations: 212.6 kB / 0.6267 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002959/0.01677, allocations: 75.95 kB / 0.6267 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.01681, allocations: 39.5 kB / 0.6268 GB, free: 12.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 1.453e-06/0.01681, allocations: 0 / 0.6268 GB, free: 12.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001732/0.01854, allocations: 0.6526 MB / 0.6274 GB, free: 11.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.0186, allocations: 67.27 kB / 0.6275 GB, free: 11.28 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.01872, allocations: 125 kB / 0.6276 GB, free: 11.15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.01875, allocations: 33.7 kB / 0.6276 GB, free: 11.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.01881, allocations: 92.78 kB / 0.6277 GB, free: 11.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.01894, allocations: 130.8 kB / 0.6278 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.01906, allocations: 61.69 kB / 0.6279 GB, free: 10.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.01922, allocations: 334.8 kB / 0.6282 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/0.01971, allocations: 195.8 kB / 0.6284 GB, free: 10.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004868/0.02019, allocations: 199.5 kB / 0.6286 GB, free: 10.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009236/0.02112, allocations: 369.9 kB / 0.6289 GB, free: 9.738 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.02112, allocations: 0 / 0.6289 GB, free: 9.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001111/0.02223, allocations: 457 kB / 0.6294 GB, free: 9.285 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.02225, allocations: 4 kB / 0.6294 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.02226, allocations: 0 / 0.6294 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.02228, allocations: 4 kB / 0.6294 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.02266, allocations: 103.8 kB / 0.6295 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.02267, allocations: 0 / 0.6295 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.02286, allocations: 51.81 kB / 0.6295 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.0229, allocations: 15.98 kB / 0.6295 GB, free: 9.109 MB / 0.545 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 0.0001571/0.02305, allocations: 142.7 kB / 0.6297 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.0231, allocations: 19.91 kB / 0.6297 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.02434, allocations: 0.5161 MB / 0.6302 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.02435, allocations: 4 kB / 0.6302 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.02436, allocations: 3.938 kB / 0.6302 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.02436, allocations: 4 kB / 0.6302 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.02467, allocations: 233 kB / 0.6304 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.02467, allocations: 0 / 0.6304 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/0.02502, allocations: 103.8 kB / 0.6305 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.02503, allocations: 4 kB / 0.6305 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.02505, allocations: 7.984 kB / 0.6306 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.02505, allocations: 4 kB / 0.6306 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02505, allocations: 0 / 0.6306 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.02627, allocations: 0.4886 MB / 0.631 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.02631, allocations: 15.84 kB / 0.631 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.02636, allocations: 12 kB / 0.6311 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.02655, allocations: 43.89 kB / 0.6311 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003151/0.02686, allocations: 119.7 kB / 0.6312 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.02689, allocations: 15.98 kB / 0.6312 GB, free: 7.328 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.478e-05/0.02699, allocations: 99.2 kB / 0.6313 GB, free: 7.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.02699, allocations: 0 / 0.6313 GB, free: 7.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005031/0.02749, allocations: 123.7 kB / 0.6314 GB, free: 7.109 MB / 0.545 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.0005263/0.02802, allocations: 198.9 kB / 0.6316 GB, free: 6.906 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.02926, allocations: 459.4 kB / 0.6321 GB, free: 6.457 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.02926, allocations: 0 / 0.6321 GB, free: 6.457 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006217/0.02988, allocations: 239.7 kB / 0.6323 GB, free: 6.223 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.03037, allocations: 83.92 kB / 0.6324 GB, free: 6.141 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009124/0.03128, allocations: 415.6 kB / 0.6328 GB, free: 5.711 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.03142, allocations: 122.5 kB / 0.6329 GB, free: 5.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004263/0.03185, allocations: 180.7 kB / 0.6331 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.03197, allocations: 44.47 kB / 0.6331 GB, free: 5.371 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.03197, allocations: 0 / 0.6331 GB, free: 5.371 MB / 0.545 GB Notification: Performance of Templates: time 0.0115/0.04347, allocations: 5.482 MB / 0.6385 GB, free: 40 kB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.388515315949917] Failed to read output from testmodel.py, exit status != 0: 0.05275523662567139 0.06644782299999995 0.05370661400000001 Calling exit ...