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.00105/0.00105, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.00126/0.00126, allocations: 173.7 kB / 23.27 MB, free: 1.223 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.9943/0.9943, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.8005/0.8005, allocations: 154.6 MB / 414.8 MB, free: 0.5469 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: 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.573e-06/1.573e-06, allocations: 0 / 0.5208 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.982e-05, allocations: 2.312 kB / 0.5208 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01349/0.01351, allocations: 18.35 MB / 0.5387 GB, free: 14.42 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.02392, allocations: 7.02 MB / 0.5455 GB, free: 7.441 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.02587, allocations: 96.78 kB / 0.5456 GB, free: 7.348 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.02699, allocations: 432.6 kB / 0.546 GB, free: 6.922 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004275/0.03127, allocations: 1.735 MB / 0.5477 GB, free: 5.191 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002848/0.03411, allocations: 1.6 MB / 0.5493 GB, free: 3.602 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.004803/0.03892, allocations: 3.996 MB / 0.5532 GB, free: 15.59 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/0.04102, allocations: 1.178 MB / 0.5543 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003688/0.04471, allocations: 1.987 MB / 0.5563 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.04619, allocations: 0.9749 MB / 0.5572 GB, free: 11.41 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002537/0.04644, allocations: 168 kB / 0.5574 GB, free: 11.25 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.04782, allocations: 0.6574 MB / 0.558 GB, free: 10.59 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002915/0.04811, allocations: 398.4 kB / 0.5584 GB, free: 10.2 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006592/0.04877, allocations: 0.5923 MB / 0.559 GB, free: 9.609 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002434/0.05121, allocations: 1.643 MB / 0.5606 GB, free: 7.961 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.05121, allocations: 4 kB / 0.5606 GB, free: 7.957 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.05121, allocations: 0 / 0.5606 GB, free: 7.957 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.206e-05/0.05124, allocations: 0.8438 kB / 0.5606 GB, free: 7.957 MB / 490.7 MB 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.002537/0.05377, allocations: 2.035 MB / 0.5626 GB, free: 5.875 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.05382, allocations: 12.03 kB / 0.5626 GB, free: 5.863 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.0552, allocations: 474.9 kB / 0.5631 GB, free: 5.406 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.05716, allocations: 1.519 MB / 0.5645 GB, free: 3.848 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.688e-05/0.05722, allocations: 79.56 kB / 0.5646 GB, free: 3.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.495e-05/0.05731, allocations: 111.9 kB / 0.5647 GB, free: 3.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.05846, allocations: 1.025 MB / 0.5657 GB, free: 2.477 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.05847, allocations: 3.938 kB / 0.5657 GB, free: 2.473 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.829e-05/0.05853, allocations: 44.5 kB / 0.5658 GB, free: 2.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.05855, allocations: 25.16 kB / 0.5658 GB, free: 2.406 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.05905, allocations: 389 kB / 0.5662 GB, free: 2.027 MB / 490.7 MB 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.004964/0.06402, allocations: 6.067 MB / 0.5721 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008501/0.06487, allocations: 404.1 kB / 0.5725 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.06499, allocations: 99.66 kB / 0.5726 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.06515, allocations: 84.67 kB / 0.5726 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.06518, allocations: 45.88 kB / 0.5727 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 3.326e-06/0.06518, allocations: 0 / 0.5727 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.001459/0.06664, allocations: 0.6799 MB / 0.5734 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.06667, allocations: 59.91 kB / 0.5734 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008734/0.06755, allocations: 1.017 MB / 0.5744 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.06759, allocations: 37.7 kB / 0.5744 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004811/0.06807, allocations: 0.7779 MB / 0.5752 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.859e-05/0.06817, allocations: 182.5 kB / 0.5754 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.06836, allocations: 184.1 kB / 0.5756 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.06848, allocations: 0.5004 MB / 0.576 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.06865, allocations: 94.64 kB / 0.5761 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.06911, allocations: 0.8398 MB / 0.577 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.06959, allocations: 0.5679 MB / 0.5775 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.0696, allocations: 0 / 0.5775 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008168/0.07042, allocations: 0.6486 MB / 0.5781 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.07044, allocations: 15.92 kB / 0.5782 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.07045, allocations: 8 kB / 0.5782 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004473/0.07089, allocations: 172.5 kB / 0.5783 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.07124, allocations: 175.7 kB / 0.5785 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004505/0.07169, allocations: 0.8624 MB / 0.5793 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005517/0.07224, allocations: 135.4 kB / 0.5795 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.0723, allocations: 43.92 kB / 0.5795 GB, free: 3.715 MB / 0.4948 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.0003067/0.07261, allocations: 208.3 kB / 0.5797 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.07274, allocations: 139.2 kB / 0.5798 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008515/0.07359, allocations: 0.7234 MB / 0.5805 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.07361, allocations: 7.984 kB / 0.5806 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.07361, allocations: 7.938 kB / 0.5806 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.07362, allocations: 3.984 kB / 0.5806 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.07564, allocations: 1.497 MB / 0.582 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.07565, allocations: 0 / 0.582 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.0758, allocations: 79.89 kB / 0.5821 GB, free: 0.9922 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003815/0.07619, allocations: 171.6 kB / 0.5823 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.07621, allocations: 23.92 kB / 0.5823 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004715/0.07668, allocations: 0.8858 MB / 0.5832 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.07669, allocations: 4.031 kB / 0.5832 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009864/0.07767, allocations: 0.7928 MB / 0.5839 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003176/0.07799, allocations: 234.8 kB / 0.5842 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/0.07807, allocations: 19.98 kB / 0.5842 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.07835, allocations: 39.97 kB / 0.5842 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.07842, allocations: 48.3 kB / 0.5843 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.07846, allocations: 27.98 kB / 0.5843 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004563/0.07891, allocations: 0.5853 MB / 0.5849 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.07891, allocations: 0 / 0.5849 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008944/0.07981, allocations: 391 kB / 0.5852 GB, free: 13.7 MB / 0.5105 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.0003384/0.08015, allocations: 226.8 kB / 0.5854 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006036/0.08075, allocations: 395.6 kB / 0.5858 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.08075, allocations: 256 / 0.5858 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.08109, allocations: 228.9 kB / 0.586 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.08219, allocations: 488.7 kB / 0.5865 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.08495, allocations: 2.031 MB / 0.5885 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.08512, allocations: 233.3 kB / 0.5887 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008225/0.08594, allocations: 210.9 kB / 0.5889 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007019/0.08664, allocations: 485.8 kB / 0.5894 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of SimCode: time 1.513e-06/0.08664, allocations: 0 / 0.5894 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of Templates: time 0.0307/0.1173, allocations: 23.53 MB / 0.6124 GB, free: 2.406 MB / 0.5261 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.148728083819151]