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.0009518/0.0009518, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.00089/0.00089, allocations: 169 kB / 23.02 MB, free: 1.543 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.9256/0.9256, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.7528/0.7528, allocations: 154.9 MB / 414.8 MB, free: 388 kB / 378.7 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 179] 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 1.843e-06/1.843e-06, allocations: 0 / 0.5207 GB, free: 1.871 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.647e-05, allocations: 4.828 kB / 0.5207 GB, free: 1.867 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.014/0.01402, allocations: 18.63 MB / 0.5389 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.009548/0.02357, allocations: 7.062 MB / 0.5458 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.02525, allocations: 96.47 kB / 0.5459 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.02627, allocations: 444.5 kB / 0.5463 GB, free: 7.641 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00359/0.02986, allocations: 1.735 MB / 0.548 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.03248, allocations: 1.578 MB / 0.5495 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004127/0.0366, allocations: 3.998 MB / 0.5534 GB, free: 336 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002118/0.03872, allocations: 1.186 MB / 0.5546 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/0.04156, allocations: 1.98 MB / 0.5565 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.04285, allocations: 0.9825 MB / 0.5575 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.000252/0.04311, allocations: 168 kB / 0.5576 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.04417, allocations: 0.6569 MB / 0.5583 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.04444, allocations: 398.4 kB / 0.5587 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0006934/0.04513, allocations: 0.5923 MB / 0.5592 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.04705, allocations: 1.643 MB / 0.5608 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.04706, allocations: 1.188 kB / 0.5608 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.112e-06/0.04706, allocations: 0 / 0.5608 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.934e-05/0.04709, allocations: 0 / 0.5608 GB, free: 8.699 MB / 0.5261 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.002776/0.04986, allocations: 2.022 MB / 0.5628 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.04991, allocations: 10.44 kB / 0.5628 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.05098, allocations: 469.8 kB / 0.5633 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.05257, allocations: 1.54 MB / 0.5648 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.409e-05/0.05262, allocations: 86.02 kB / 0.5649 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.234e-05/0.05271, allocations: 104 kB / 0.565 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.05399, allocations: 1.1 MB / 0.566 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.05401, allocations: 0 / 0.566 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.446e-05/0.05407, allocations: 44 kB / 0.5661 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.05409, allocations: 24.97 kB / 0.5661 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007335/0.05482, allocations: 479.1 kB / 0.5665 GB, free: 2.613 MB / 0.5261 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.005077/0.0599, allocations: 6.252 MB / 0.5727 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.06124, allocations: 435 kB / 0.5731 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.06148, allocations: 114 kB / 0.5732 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/0.06169, allocations: 65.17 kB / 0.5732 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.06172, allocations: 38.58 kB / 0.5733 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 2.515e-06/0.06172, allocations: 0 / 0.5733 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=48): time 0.001709/0.06343, allocations: 0.7328 MB / 0.574 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.06347, allocations: 59.91 kB / 0.5741 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.06474, allocations: 1.047 MB / 0.5751 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.06477, allocations: 41.64 kB / 0.5751 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.06515, allocations: 0.7565 MB / 0.5759 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.596e-05/0.06525, allocations: 182.5 kB / 0.576 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.06543, allocations: 176.2 kB / 0.5762 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.06554, allocations: 0.5004 MB / 0.5767 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.06575, allocations: 105.9 kB / 0.5768 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.06622, allocations: 0.8467 MB / 0.5776 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005787/0.0668, allocations: 0.5994 MB / 0.5782 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.06681, allocations: 4 kB / 0.5782 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000924/0.06773, allocations: 0.703 MB / 0.5789 GB, free: 5.359 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.06776, allocations: 8 kB / 0.5789 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.06778, allocations: 12.09 kB / 0.5789 GB, free: 5.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005341/0.06831, allocations: 179.5 kB / 0.5791 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.06866, allocations: 175.7 kB / 0.5792 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004663/0.06913, allocations: 0.8741 MB / 0.5801 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/0.06959, allocations: 131.4 kB / 0.5802 GB, free: 3.953 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/0.06965, allocations: 47.97 kB / 0.5803 GB, free: 3.906 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (83): * Single equations (assignments): 82 * 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.00023/0.06988, allocations: 208.3 kB / 0.5805 GB, free: 3.691 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.07001, allocations: 143.2 kB / 0.5806 GB, free: 3.551 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009216/0.07093, allocations: 0.7529 MB / 0.5813 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.07094, allocations: 19.92 kB / 0.5814 GB, free: 2.781 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.07095, allocations: 64 / 0.5814 GB, free: 2.781 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.07096, allocations: 7.984 kB / 0.5814 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.07328, allocations: 1.71 MB / 0.583 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.07329, allocations: 4 kB / 0.583 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.07345, allocations: 75.84 kB / 0.5831 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003645/0.07381, allocations: 171.7 kB / 0.5833 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.07385, allocations: 19.98 kB / 0.5833 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005153/0.07436, allocations: 0.9053 MB / 0.5842 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.07436, allocations: 4 kB / 0.5842 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.07543, allocations: 0.8319 MB / 0.585 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.0757, allocations: 246.8 kB / 0.5852 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/0.07578, allocations: 15.94 kB / 0.5852 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.07605, allocations: 39.97 kB / 0.5853 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.07613, allocations: 44.36 kB / 0.5853 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.07616, allocations: 27.98 kB / 0.5854 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006234/0.07679, allocations: 0.6402 MB / 0.586 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.07679, allocations: 4 kB / 0.586 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007539/0.07754, allocations: 395 kB / 0.5864 GB, free: 13.51 MB / 0.5573 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.0003724/0.07791, allocations: 222.9 kB / 0.5866 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007139/0.07863, allocations: 435.6 kB / 0.587 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.07863, allocations: 0 / 0.587 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003862/0.07902, allocations: 245.6 kB / 0.5872 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.0801, allocations: 496.9 kB / 0.5877 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.08305, allocations: 2.047 MB / 0.5897 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.08321, allocations: 237.3 kB / 0.5899 GB, free: 9.773 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004698/0.08368, allocations: 213.4 kB / 0.5901 GB, free: 9.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.08384, allocations: 100.4 kB / 0.5902 GB, free: 9.473 MB / 0.5573 GB Notification: Performance of SimCode: time 1.593e-06/0.08384, allocations: 3.938 kB / 0.5902 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of Templates: time 0.02655/0.1104, allocations: 23.54 MB / 0.6132 GB, free: 2.469 MB / 0.573 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.298226598184556]