Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.001808/0.001808, allocations: 79.28 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.00211/0.00211, allocations: 160.5 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.43/1.43, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.177/1.177, allocations: 154.6 MB / 413.7 MB, free: 5.293 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.6185 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.334e-05, allocations: 3.438 kB / 0.6185 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08023/0.08026, allocations: 64.58 MB / 0.6816 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02968/0.1099, allocations: 17.56 MB / 0.6987 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003306/0.1132, allocations: 95.19 kB / 0.6988 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.116, allocations: 0.8343 MB / 0.6996 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.4286/0.5446, allocations: 3.081 MB / 0.7026 GB, free: 26.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0055/0.5501, allocations: 1.812 MB / 0.7044 GB, free: 26.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007466/0.5576, allocations: 4.074 MB / 0.7084 GB, free: 25.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00211/0.5597, allocations: 1.151 MB / 0.7095 GB, free: 25.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006005/0.5657, allocations: 2.551 MB / 0.712 GB, free: 25.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.5678, allocations: 1.008 MB / 0.713 GB, free: 25.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002367/0.568, allocations: 175.6 kB / 0.7131 GB, free: 25.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00279/0.5708, allocations: 1.16 MB / 0.7143 GB, free: 25.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003799/0.5712, allocations: 413.8 kB / 0.7147 GB, free: 25.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008659/0.5721, allocations: 0.6052 MB / 0.7153 GB, free: 25.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006736/0.5788, allocations: 3.149 MB / 0.7183 GB, free: 24.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.5788, allocations: 1.188 kB / 0.7183 GB, free: 24.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5788, allocations: 2.688 kB / 0.7183 GB, free: 24.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.598e-05/0.5788, allocations: 3.938 kB / 0.7183 GB, free: 24.84 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004659/0.5835, allocations: 1.993 MB / 0.7203 GB, free: 23.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5835, allocations: 11.41 kB / 0.7203 GB, free: 23.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00253/0.5861, allocations: 458.8 kB / 0.7207 GB, free: 23.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/0.5893, allocations: 1.52 MB / 0.7222 GB, free: 23.37 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.5894, allocations: 81.34 kB / 0.7223 GB, free: 23.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002716/0.5897, allocations: 105.4 kB / 0.7224 GB, free: 23.36 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/0.5924, allocations: 1.413 MB / 0.7238 GB, free: 22.95 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.898e-05/0.5925, allocations: 12.03 kB / 0.7238 GB, free: 22.95 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.5926, allocations: 43.47 kB / 0.7238 GB, free: 22.95 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.909e-05/0.5926, allocations: 25.91 kB / 0.7239 GB, free: 22.95 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002863/0.5955, allocations: 1.102 MB / 0.7249 GB, free: 22.93 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007948/0.6034, allocations: 5.383 MB / 0.7302 GB, free: 20.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003099/0.6065, allocations: 0.7756 MB / 0.731 GB, free: 20.37 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005483/0.6071, allocations: 268.6 kB / 0.7312 GB, free: 20.36 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004931/0.6076, allocations: 159.7 kB / 0.7314 GB, free: 20.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.6076, allocations: 38.03 kB / 0.7314 GB, free: 20.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.264e-06/0.6076, allocations: 4 kB / 0.7314 GB, free: 20.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.004505/0.6121, allocations: 1.236 MB / 0.7326 GB, free: 20.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.6121, allocations: 57.47 kB / 0.7327 GB, free: 20.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.6138, allocations: 1.229 MB / 0.7339 GB, free: 19.89 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/0.6139, allocations: 38.23 kB / 0.7339 GB, free: 19.86 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003893/0.6143, allocations: 0.7044 MB / 0.7346 GB, free: 19.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.6144, allocations: 176.9 kB / 0.7348 GB, free: 19.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/0.6147, allocations: 169.6 kB / 0.7349 GB, free: 19.08 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.757e-05/0.6147, allocations: 332.9 kB / 0.7352 GB, free: 18.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009172/0.6156, allocations: 369 kB / 0.7356 GB, free: 18.64 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.6168, allocations: 0.9974 MB / 0.7366 GB, free: 17.76 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.6185, allocations: 0.8838 MB / 0.7374 GB, free: 17.22 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.6185, allocations: 2.312 kB / 0.7374 GB, free: 17.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002706/0.6212, allocations: 1.169 MB / 0.7386 GB, free: 16.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.6212, allocations: 8.594 kB / 0.7386 GB, free: 16.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.6212, allocations: 7.469 kB / 0.7386 GB, free: 16.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000855/0.6221, allocations: 226.6 kB / 0.7388 GB, free: 16.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007418/0.6228, allocations: 192.9 kB / 0.739 GB, free: 16.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007153/0.6235, allocations: 0.7183 MB / 0.7397 GB, free: 16.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.6248, allocations: 174.6 kB / 0.7399 GB, free: 16.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.096e-05/0.6249, allocations: 41.55 kB / 0.7399 GB, free: 16.08 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005808/0.6255, allocations: 366.9 kB / 0.7402 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.6257, allocations: 124.7 kB / 0.7404 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/0.6279, allocations: 1.131 MB / 0.7415 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/0.6279, allocations: 12.64 kB / 0.7415 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6279, allocations: 4.453 kB / 0.7415 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.6279, allocations: 2.953 kB / 0.7415 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004525/0.6324, allocations: 2.187 MB / 0.7436 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.6324, allocations: 3.25 kB / 0.7436 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.6328, allocations: 80.19 kB / 0.7437 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006969/0.6335, allocations: 220.5 kB / 0.7439 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.6335, allocations: 16.31 kB / 0.7439 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.6347, allocations: 0.7699 MB / 0.7447 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6347, allocations: 9.438 kB / 0.7447 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003142/0.6378, allocations: 1.191 MB / 0.7458 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004443/0.6383, allocations: 236.9 kB / 0.7461 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.6384, allocations: 19.31 kB / 0.7461 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007466/0.6392, allocations: 66.17 kB / 0.7462 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.495e-05/0.6392, allocations: 41.27 kB / 0.7462 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.276e-05/0.6393, allocations: 36.16 kB / 0.7462 GB, free: 13 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001245/0.6406, allocations: 0.8491 MB / 0.7471 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.6406, allocations: 0 / 0.7471 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001568/0.6421, allocations: 478.8 kB / 0.7475 GB, free: 12.52 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007849/0.6429, allocations: 479.3 kB / 0.748 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001984/0.6449, allocations: 0.8225 MB / 0.7488 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.6449, allocations: 3.938 kB / 0.7488 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.6461, allocations: 430.8 kB / 0.7492 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/0.648, allocations: 475.2 kB / 0.7496 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004784/0.6528, allocations: 2.242 MB / 0.7518 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.6534, allocations: 0.5848 MB / 0.7524 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001043/0.6545, allocations: 222.5 kB / 0.7526 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.6547, allocations: 99.06 kB / 0.7527 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of SimCode: time 1.463e-06/0.6547, allocations: 4 kB / 0.7527 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of Templates: time 0.03519/0.6899, allocations: 24.96 MB / 0.7771 GB, free: 10.27 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.124345570802689] Failed to read output from testmodel.py, exit status != 0: 0.6991469748318195 0.7117104439999999 0.12984799800000002 Calling exit ...