Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001283/0.001283, allocations: 69.98 kB / 20.65 MB, free: 3.848 MB / 18.57 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.001088/0.001088, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9863/0.9863, allocations: 177.1 MB / 204.5 MB, free: 5.109 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-545:108: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-545:116: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.7776/0.7776, allocations: 154.6 MB / 415.6 MB, free: 472 kB / 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: translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.5215 GB, free: 1.914 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.621e-05, allocations: 6.266 kB / 0.5215 GB, free: 1.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01349/0.01352, allocations: 18.34 MB / 0.5394 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.02365, allocations: 7.014 MB / 0.5463 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002009/0.02566, allocations: 95.19 kB / 0.5464 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.02666, allocations: 442.4 kB / 0.5468 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00341/0.03007, allocations: 1.743 MB / 0.5485 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002601/0.03267, allocations: 1.583 MB / 0.55 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003997/0.03667, allocations: 3.986 MB / 0.5539 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.03818, allocations: 1.191 MB / 0.5551 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.04077, allocations: 1.987 MB / 0.557 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.04217, allocations: 0.9742 MB / 0.558 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002526/0.04242, allocations: 172.6 kB / 0.5581 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.04375, allocations: 0.6504 MB / 0.5588 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003057/0.04406, allocations: 402.4 kB / 0.5592 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0006328/0.04469, allocations: 0.5962 MB / 0.5597 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.04658, allocations: 1.635 MB / 0.5613 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.04658, allocations: 0 / 0.5613 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.463e-06/0.04659, allocations: 0 / 0.5613 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.0466, allocations: 4 kB / 0.5613 GB, free: 9.082 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.002047/0.04865, allocations: 2.038 MB / 0.5633 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.04868, allocations: 12.02 kB / 0.5634 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.04969, allocations: 476.7 kB / 0.5638 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.05108, allocations: 1.527 MB / 0.5653 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.051e-05/0.05113, allocations: 82.03 kB / 0.5654 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.403e-05/0.05123, allocations: 104 kB / 0.5655 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.05223, allocations: 1.03 MB / 0.5665 GB, free: 3.586 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.05225, allocations: 7.938 kB / 0.5665 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-05/0.05232, allocations: 44 kB / 0.5665 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.05234, allocations: 24.94 kB / 0.5666 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.05282, allocations: 392.8 kB / 0.5669 GB, free: 3.133 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.00415/0.05697, allocations: 6.07 MB / 0.5729 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007981/0.05776, allocations: 401.5 kB / 0.5732 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.05788, allocations: 100.5 kB / 0.5733 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.05801, allocations: 65.33 kB / 0.5734 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.05804, allocations: 37.89 kB / 0.5734 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/0.05804, allocations: 5.594 kB / 0.5734 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=48): time 0.001456/0.0595, allocations: 0.6842 MB / 0.5741 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.05952, allocations: 59.84 kB / 0.5742 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008324/0.06036, allocations: 1.02 MB / 0.5752 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.0604, allocations: 37.7 kB / 0.5752 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.06083, allocations: 0.7725 MB / 0.5759 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.06093, allocations: 178.5 kB / 0.5761 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.06111, allocations: 180.1 kB / 0.5763 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.06126, allocations: 0.5144 MB / 0.5768 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.06143, allocations: 89.92 kB / 0.5769 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.0619, allocations: 0.8349 MB / 0.5777 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/0.06237, allocations: 0.5644 MB / 0.5782 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.06237, allocations: 4 kB / 0.5782 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008223/0.06319, allocations: 0.6441 MB / 0.5789 GB, free: 6.277 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.06322, allocations: 8 kB / 0.5789 GB, free: 6.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.06323, allocations: 12.09 kB / 0.5789 GB, free: 6.258 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004389/0.06367, allocations: 183.4 kB / 0.5791 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.06401, allocations: 167.8 kB / 0.5792 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004058/0.06442, allocations: 0.8741 MB / 0.5801 GB, free: 5.004 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/0.06493, allocations: 131.5 kB / 0.5802 GB, free: 4.875 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/0.06499, allocations: 43.91 kB / 0.5803 GB, free: 4.832 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.0002685/0.06526, allocations: 208.3 kB / 0.5805 GB, free: 4.617 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.06538, allocations: 139.2 kB / 0.5806 GB, free: 4.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008375/0.06622, allocations: 0.7095 MB / 0.5813 GB, free: 3.77 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.06624, allocations: 11.98 kB / 0.5813 GB, free: 3.758 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.06624, allocations: 7.938 kB / 0.5813 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.06625, allocations: 3.984 kB / 0.5813 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.06817, allocations: 1.497 MB / 0.5828 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.06817, allocations: 4 kB / 0.5828 GB, free: 2.184 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.06833, allocations: 75.83 kB / 0.5828 GB, free: 2.109 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003509/0.06868, allocations: 179.6 kB / 0.583 GB, free: 1.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.06871, allocations: 11.94 kB / 0.583 GB, free: 1.918 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004894/0.0692, allocations: 0.9014 MB / 0.5839 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.0692, allocations: 4 kB / 0.5839 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009868/0.07018, allocations: 0.8005 MB / 0.5847 GB, free: 144 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/0.07046, allocations: 243 kB / 0.5849 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.177e-05/0.07054, allocations: 16 kB / 0.5849 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.07084, allocations: 39.95 kB / 0.585 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.0709, allocations: 44.17 kB / 0.585 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/0.07093, allocations: 23.98 kB / 0.585 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004578/0.07139, allocations: 0.5853 MB / 0.5856 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.07139, allocations: 0 / 0.5856 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007918/0.07218, allocations: 391 kB / 0.586 GB, free: 14.81 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.0003139/0.0725, allocations: 222.8 kB / 0.5862 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005598/0.07306, allocations: 395 kB / 0.5866 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.07306, allocations: 0 / 0.5866 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.0734, allocations: 230 kB / 0.5868 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.07445, allocations: 491.5 kB / 0.5873 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.07687, allocations: 2.025 MB / 0.5892 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.07703, allocations: 241.2 kB / 0.5895 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005005/0.07753, allocations: 203.1 kB / 0.5897 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006678/0.0782, allocations: 493.7 kB / 0.5901 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of SimCode: time 1.283e-06/0.0782, allocations: 0 / 0.5901 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of Templates: time 0.02871/0.1069, allocations: 23.86 MB / 0.6134 GB, free: 3.152 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.300469276029617]