Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 102 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 196.6 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.829/0.829, allocations: 122.9 MB / 413.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001195, allocations: 63.91 kB / 0.4906 GB, free: 7.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3518, allocations: 77.92 MB / 0.5667 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05067/0.4025, allocations: 60.67 MB / 0.626 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0167/0.4192, allocations: 11.92 MB / 0.6376 GB, free: 2.227 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0025/0.4218, allocations: 59.62 kB / 0.6377 GB, free: 2.168 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.4241, allocations: 0.5751 MB / 0.6382 GB, free: 1.59 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006612/0.4307, allocations: 1.83 MB / 0.64 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.4339, allocations: 1.087 MB / 0.6411 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004804/0.4387, allocations: 3.118 MB / 0.6441 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00235/0.4411, allocations: 1.118 MB / 0.6452 GB, free: 10.4 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003548/0.4447, allocations: 1.331 MB / 0.6465 GB, free: 9.066 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.4461, allocations: 0.9373 MB / 0.6474 GB, free: 8.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.4463, allocations: 120 kB / 0.6475 GB, free: 8.008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002663/0.449, allocations: 1.462 MB / 0.649 GB, free: 6.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003195/0.4493, allocations: 298.8 kB / 0.6493 GB, free: 6.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007243/0.45, allocations: 0.6997 MB / 0.6499 GB, free: 5.547 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003162/0.4532, allocations: 2.302 MB / 0.6522 GB, free: 3.238 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.4532, allocations: 0 / 0.6522 GB, free: 3.238 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4532, allocations: 3.938 kB / 0.6522 GB, free: 3.234 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.4532, allocations: 0 / 0.6522 GB, free: 3.234 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003336/0.4566, allocations: 1.742 MB / 0.6539 GB, free: 1.434 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4566, allocations: 8.625 kB / 0.6539 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002663/0.4593, allocations: 458.8 kB / 0.6543 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.4618, allocations: 1.128 MB / 0.6554 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003651/0.4622, allocations: 125.9 kB / 0.6556 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.4623, allocations: 76 kB / 0.6556 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.4645, allocations: 1.006 MB / 0.6566 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.4645, allocations: 3.938 kB / 0.6566 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.049e-05/0.4646, allocations: 32 kB / 0.6566 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.4646, allocations: 20 kB / 0.6567 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/0.4672, allocations: 0.9485 MB / 0.6576 GB, free: 13.55 MB / 0.4981 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.006658/0.4739, allocations: 4.686 MB / 0.6622 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004072/0.4779, allocations: 1.01 MB / 0.6632 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.479, allocations: 421.9 kB / 0.6636 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009902/0.48, allocations: 1.017 MB / 0.6646 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.4801, allocations: 39 kB / 0.6646 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.886e-06/0.4801, allocations: 0 / 0.6646 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.009635/0.4897, allocations: 2.236 MB / 0.6668 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.4898, allocations: 59.84 kB / 0.6668 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.4914, allocations: 0.9353 MB / 0.6677 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.4915, allocations: 37.7 kB / 0.6678 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004759/0.492, allocations: 0.4963 MB / 0.6683 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.4922, allocations: 185.2 kB / 0.6684 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/0.4925, allocations: 134.1 kB / 0.6686 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4927, allocations: 326 kB / 0.6689 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.4937, allocations: 362.8 kB / 0.6692 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.495, allocations: 0.5155 MB / 0.6697 GB, free: 396 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.497, allocations: 0.7658 MB / 0.6705 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.497, allocations: 3.938 kB / 0.6705 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003111/0.5002, allocations: 1.068 MB / 0.6715 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.5002, allocations: 4 kB / 0.6715 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5002, allocations: 4 kB / 0.6715 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/0.5016, allocations: 304.9 kB / 0.6718 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006406/0.5022, allocations: 139.8 kB / 0.672 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.5037, allocations: 0.9103 MB / 0.6728 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.505, allocations: 163.3 kB / 0.673 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.011e-05/0.5052, allocations: 35.92 kB / 0.673 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001396/0.5066, allocations: 0.5596 MB / 0.6736 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001189/0.5078, allocations: 0.5232 MB / 0.6741 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001993/0.5098, allocations: 0.7502 MB / 0.6748 GB, free: 11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.013e-06/0.5098, allocations: 4 kB / 0.6748 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003042/0.5128, allocations: 1.06 MB / 0.6759 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.5129, allocations: 4 kB / 0.6759 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5129, allocations: 4 kB / 0.6759 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.514, allocations: 300.8 kB / 0.6762 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/0.5147, allocations: 139.8 kB / 0.6763 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.5161, allocations: 0.8996 MB / 0.6772 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.5174, allocations: 151.5 kB / 0.6773 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.837e-05/0.5175, allocations: 27.98 kB / 0.6773 GB, free: 8.375 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0002751/0.5178, allocations: 224 kB / 0.6776 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/0.5181, allocations: 106.7 kB / 0.6777 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004582/0.5227, allocations: 1.325 MB / 0.6789 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.5227, allocations: 4 kB / 0.679 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/0.5227, allocations: 0 / 0.679 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.5227, allocations: 3.984 kB / 0.679 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006275/0.529, allocations: 2.42 MB / 0.6813 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.529, allocations: 0 / 0.6813 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/0.5296, allocations: 112 kB / 0.6814 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.5307, allocations: 298.9 kB / 0.6817 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-05/0.5308, allocations: 19.98 kB / 0.6817 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.5324, allocations: 0.9386 MB / 0.6826 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5324, allocations: 4.031 kB / 0.6827 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004408/0.5368, allocations: 1.335 MB / 0.684 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006178/0.5374, allocations: 283.4 kB / 0.6842 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/0.5377, allocations: 19.94 kB / 0.6842 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.5388, allocations: 107.9 kB / 0.6843 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.5389, allocations: 36.38 kB / 0.6844 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-05/0.539, allocations: 23.98 kB / 0.6844 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001088/0.5401, allocations: 0.6634 MB / 0.6851 GB, free: 308 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5401, allocations: 0 / 0.6851 GB, free: 308 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001789/0.5419, allocations: 0.573 MB / 0.6856 GB, free: 15.72 MB / 0.5294 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009187/0.5429, allocations: 386.6 kB / 0.686 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004069/0.5469, allocations: 1.35 MB / 0.6873 GB, free: 14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/0.547, allocations: 4 kB / 0.6873 GB, free: 14 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/0.5483, allocations: 456.9 kB / 0.6877 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/0.5514, allocations: 0.4928 MB / 0.6882 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005086/0.5565, allocations: 2.31 MB / 0.6905 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008243/0.5574, allocations: 1.062 MB / 0.6915 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001305/0.5587, allocations: 233.6 kB / 0.6917 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.559, allocations: 83.41 kB / 0.6918 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of SimCode: time 1.011e-06/0.559, allocations: 0 / 0.6918 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of Templates: time 0.0451/0.6041, allocations: 24.43 MB / 0.7157 GB, free: 1.18 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)