Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6989/0.6989, allocations: 133.4 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 404.7 MB, free: 6.027 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 107.7 kB / 485.9 MB, free: 7.141 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009957/0.0009958, allocations: 55.91 kB / 0.5636 GB, free: 69.88 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1451, allocations: 80.42 MB / 0.6421 GB, free: 5.387 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.356/0.5012, allocations: 60.82 MB / 0.7015 GB, free: 25.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01616/0.5174, allocations: 12.06 MB / 0.7133 GB, free: 25.69 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002509/0.5199, allocations: 56.91 kB / 0.7133 GB, free: 25.69 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.5218, allocations: 0.551 MB / 0.7139 GB, free: 25.68 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006183/0.528, allocations: 1.797 MB / 0.7156 GB, free: 25.26 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003573/0.5316, allocations: 1.082 MB / 0.7167 GB, free: 24.78 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006501/0.5381, allocations: 3.915 MB / 0.7205 GB, free: 23.32 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.5402, allocations: 0.9361 MB / 0.7214 GB, free: 22.92 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003209/0.5434, allocations: 1.174 MB / 0.7226 GB, free: 22.44 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.5451, allocations: 0.889 MB / 0.7235 GB, free: 22.12 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.5453, allocations: 56.38 kB / 0.7235 GB, free: 22.12 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003232/0.5485, allocations: 1.37 MB / 0.7248 GB, free: 21.73 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.5488, allocations: 230 kB / 0.7251 GB, free: 21.61 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007498/0.5495, allocations: 0.6355 MB / 0.7257 GB, free: 21.24 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003666/0.5532, allocations: 2.255 MB / 0.7279 GB, free: 20.51 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5532, allocations: 0 / 0.7279 GB, free: 20.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5532, allocations: 0 / 0.7279 GB, free: 20.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.5533, allocations: 0 / 0.7279 GB, free: 20.51 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002944/0.5562, allocations: 1.718 MB / 0.7296 GB, free: 19.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.5563, allocations: 8.5 kB / 0.7296 GB, free: 19.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.5579, allocations: 347.2 kB / 0.7299 GB, free: 19.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.56, allocations: 1.129 MB / 0.731 GB, free: 18.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003483/0.5603, allocations: 122.4 kB / 0.7311 GB, free: 18.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.5605, allocations: 79.31 kB / 0.7312 GB, free: 18.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.5624, allocations: 0.946 MB / 0.7321 GB, free: 17.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.5624, allocations: 0.5625 kB / 0.7321 GB, free: 17.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.388e-05/0.5625, allocations: 35.81 kB / 0.7322 GB, free: 17.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/0.5625, allocations: 19.34 kB / 0.7322 GB, free: 17.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.5645, allocations: 0.8094 MB / 0.733 GB, free: 17.41 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.005523/0.57, allocations: 4.751 MB / 0.7376 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.5716, allocations: 0.5689 MB / 0.7382 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005944/0.5722, allocations: 269.2 kB / 0.7384 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.5733, allocations: 1.374 MB / 0.7398 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.5733, allocations: 48.44 kB / 0.7398 GB, free: 11.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 2.295e-06/0.5733, allocations: 0 / 0.7398 GB, free: 11.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=43): time 0.008165/0.5815, allocations: 1.818 MB / 0.7416 GB, free: 10.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.5815, allocations: 54.41 kB / 0.7416 GB, free: 10.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.5831, allocations: 1.056 MB / 0.7427 GB, free: 9.566 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.357e-05/0.5832, allocations: 36.48 kB / 0.7427 GB, free: 9.527 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.5835, allocations: 0.5174 MB / 0.7432 GB, free: 9.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.5836, allocations: 157.5 kB / 0.7434 GB, free: 8.938 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.5838, allocations: 122.8 kB / 0.7435 GB, free: 8.863 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.311e-05/0.5839, allocations: 327.6 kB / 0.7438 GB, free: 8.543 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007172/0.5846, allocations: 273.9 kB / 0.744 GB, free: 8.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008604/0.5854, allocations: 479.1 kB / 0.7445 GB, free: 8.027 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.5868, allocations: 0.6337 MB / 0.7451 GB, free: 7.605 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.247e-06/0.5868, allocations: 3 kB / 0.7451 GB, free: 7.605 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002315/0.5891, allocations: 0.9261 MB / 0.746 GB, free: 7.137 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.5891, allocations: 5.75 kB / 0.746 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.5891, allocations: 8.906 kB / 0.746 GB, free: 7.133 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.5904, allocations: 316.2 kB / 0.7463 GB, free: 6.988 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.5909, allocations: 107 kB / 0.7464 GB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.5922, allocations: 0.9173 MB / 0.7473 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.5936, allocations: 160.2 kB / 0.7475 GB, free: 6.148 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-05/0.5937, allocations: 30.39 kB / 0.7475 GB, free: 6.141 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001086/0.5948, allocations: 484.1 kB / 0.748 GB, free: 5.855 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008125/0.5956, allocations: 476.8 kB / 0.7484 GB, free: 5.477 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001276/0.5969, allocations: 0.6202 MB / 0.749 GB, free: 5.066 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.496e-06/0.5969, allocations: 4.031 kB / 0.749 GB, free: 5.066 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002316/0.5992, allocations: 0.9189 MB / 0.7499 GB, free: 4.457 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.5993, allocations: 11.98 kB / 0.75 GB, free: 4.445 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.5993, allocations: 4 kB / 0.75 GB, free: 4.441 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.6003, allocations: 314.8 kB / 0.7503 GB, free: 4.133 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.6007, allocations: 107.9 kB / 0.7504 GB, free: 4.027 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.6019, allocations: 0.9074 MB / 0.7513 GB, free: 3.094 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.6033, allocations: 143.6 kB / 0.7514 GB, free: 2.953 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.6034, allocations: 31.92 kB / 0.7514 GB, free: 2.922 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002137/0.6036, allocations: 221.4 kB / 0.7516 GB, free: 2.699 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.6038, allocations: 110.7 kB / 0.7517 GB, free: 2.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003453/0.6072, allocations: 1.065 MB / 0.7528 GB, free: 1.508 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.6073, allocations: 11.98 kB / 0.7528 GB, free: 1.496 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.6073, allocations: 3.938 kB / 0.7528 GB, free: 1.492 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.6073, allocations: 0 / 0.7528 GB, free: 1.492 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00472/0.612, allocations: 2.078 MB / 0.7548 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.612, allocations: 0 / 0.7548 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.6122, allocations: 59.91 kB / 0.7549 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/0.6133, allocations: 305.8 kB / 0.7552 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.6133, allocations: 19.98 kB / 0.7552 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.6148, allocations: 0.9437 MB / 0.7561 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.6148, allocations: 7.969 kB / 0.7561 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004837/0.6196, allocations: 2.147 MB / 0.7582 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006247/0.6203, allocations: 263.5 kB / 0.7585 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.6204, allocations: 12 kB / 0.7585 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008251/0.6213, allocations: 91.84 kB / 0.7586 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.6214, allocations: 43.77 kB / 0.7586 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.6214, allocations: 23.98 kB / 0.7586 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001166/0.6226, allocations: 0.7389 MB / 0.7593 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6226, allocations: 0 / 0.7593 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001858/0.6245, allocations: 0.5886 MB / 0.7599 GB, free: 9.973 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008821/0.6254, allocations: 396.4 kB / 0.7603 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002836/0.6282, allocations: 0.9993 MB / 0.7613 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6282, allocations: 0 / 0.7613 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007695/0.629, allocations: 317.2 kB / 0.7616 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/0.6317, allocations: 0.4993 MB / 0.7621 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/0.6361, allocations: 2.525 MB / 0.7645 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000769/0.6369, allocations: 1.073 MB / 0.7656 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001239/0.6382, allocations: 211.1 kB / 0.7658 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.6384, allocations: 75.42 kB / 0.7659 GB, free: 3.844 MB / 0.4948 GB Notification: Performance of SimCode: time 1.312e-06/0.6385, allocations: 8 kB / 0.7659 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of Templates: time 0.03885/0.6773, allocations: 24.62 MB / 0.7899 GB, free: 11.51 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)