Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 182.2 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.6904/0.6904, allocations: 133.4 MB / 150.1 MB, free: 11.16 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.402/1.402, allocations: 222.9 MB / 404.7 MB, free: 6.137 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.0009881/0.0009881, allocations: 111.5 kB / 485.9 MB, free: 7.246 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 51.92 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1152, allocations: 80.42 MB / 0.6421 GB, free: 5.43 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.2977/0.4129, allocations: 60.82 MB / 0.7015 GB, free: 25.97 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01439/0.4274, allocations: 12.06 MB / 0.7133 GB, free: 25.69 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.4293, allocations: 57.41 kB / 0.7134 GB, free: 25.69 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.4308, allocations: 0.5466 MB / 0.7139 GB, free: 25.68 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005199/0.436, allocations: 1.805 MB / 0.7157 GB, free: 25.26 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.4391, allocations: 1.078 MB / 0.7167 GB, free: 24.77 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.004665/0.4438, allocations: 3.929 MB / 0.7205 GB, free: 23.31 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.4453, allocations: 0.9408 MB / 0.7215 GB, free: 22.91 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002341/0.4477, allocations: 1.163 MB / 0.7226 GB, free: 22.44 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.4492, allocations: 0.9151 MB / 0.7235 GB, free: 22.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002513/0.4495, allocations: 58.41 kB / 0.7235 GB, free: 22.11 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.4524, allocations: 1.348 MB / 0.7249 GB, free: 21.72 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002956/0.4527, allocations: 235 kB / 0.7251 GB, free: 21.6 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000967/0.4537, allocations: 0.6417 MB / 0.7257 GB, free: 21.23 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003243/0.457, allocations: 2.247 MB / 0.7279 GB, free: 20.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.457, allocations: 0 / 0.7279 GB, free: 20.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.457, allocations: 0 / 0.7279 GB, free: 20.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.525e-05/0.457, allocations: 0 / 0.7279 GB, free: 20.5 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003351/0.4604, allocations: 1.738 MB / 0.7296 GB, free: 19.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4604, allocations: 9.688 kB / 0.7296 GB, free: 19.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/0.463, allocations: 457.3 kB / 0.73 GB, free: 19.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.4649, allocations: 1.142 MB / 0.7312 GB, free: 18.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000355/0.4652, allocations: 123.8 kB / 0.7313 GB, free: 18.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.4654, allocations: 83.91 kB / 0.7314 GB, free: 18.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.4676, allocations: 1.007 MB / 0.7323 GB, free: 17.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.4676, allocations: 0 / 0.7323 GB, free: 17.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.245e-05/0.4677, allocations: 32.91 kB / 0.7324 GB, free: 17.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.4677, allocations: 19.34 kB / 0.7324 GB, free: 17.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002699/0.4704, allocations: 0.9505 MB / 0.7333 GB, free: 17.24 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.005895/0.4763, allocations: 4.684 MB / 0.7379 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004082/0.4804, allocations: 1.006 MB / 0.7389 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.4815, allocations: 414.9 kB / 0.7393 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007146/0.4822, allocations: 1.021 MB / 0.7403 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.4822, allocations: 39 kB / 0.7403 GB, free: 11.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 2.755e-06/0.4822, allocations: 2.906 kB / 0.7403 GB, free: 11.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=53): time 0.009593/0.4918, allocations: 2.225 MB / 0.7425 GB, free: 10.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.4919, allocations: 60.41 kB / 0.7425 GB, free: 10.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.493, allocations: 0.9362 MB / 0.7435 GB, free: 9.504 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.936e-05/0.4931, allocations: 41.02 kB / 0.7435 GB, free: 9.465 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.4934, allocations: 0.5023 MB / 0.744 GB, free: 9.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.4936, allocations: 189.8 kB / 0.7442 GB, free: 8.859 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.4938, allocations: 128.2 kB / 0.7443 GB, free: 8.781 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.547e-05/0.4939, allocations: 326.8 kB / 0.7446 GB, free: 8.461 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.4949, allocations: 358 kB / 0.7449 GB, free: 8.285 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.496, allocations: 0.5235 MB / 0.7455 GB, free: 7.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.4981, allocations: 0.7636 MB / 0.7462 GB, free: 7.473 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4981, allocations: 0 / 0.7462 GB, free: 7.473 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002919/0.501, allocations: 1.067 MB / 0.7472 GB, free: 6.934 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.501, allocations: 6.125 kB / 0.7472 GB, free: 6.934 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.501, allocations: 2.5 kB / 0.7473 GB, free: 6.934 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.5023, allocations: 303.4 kB / 0.7475 GB, free: 6.797 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/0.503, allocations: 138.2 kB / 0.7477 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.5043, allocations: 0.9144 MB / 0.7486 GB, free: 6.027 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.5056, allocations: 165.9 kB / 0.7487 GB, free: 5.938 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-05/0.5057, allocations: 31.25 kB / 0.7488 GB, free: 5.926 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001315/0.507, allocations: 0.5592 MB / 0.7493 GB, free: 5.465 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001054/0.5081, allocations: 0.5116 MB / 0.7498 GB, free: 4.887 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001907/0.51, allocations: 0.7618 MB / 0.7505 GB, free: 4.094 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.476e-06/0.51, allocations: 4 kB / 0.7505 GB, free: 4.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002838/0.5129, allocations: 1.057 MB / 0.7516 GB, free: 3.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.5129, allocations: 4 kB / 0.7516 GB, free: 3.016 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5129, allocations: 7.984 kB / 0.7516 GB, free: 3.008 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.514, allocations: 300.8 kB / 0.7519 GB, free: 2.711 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005847/0.5146, allocations: 135.8 kB / 0.752 GB, free: 2.578 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.5158, allocations: 0.9066 MB / 0.7529 GB, free: 1.648 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.5171, allocations: 151.5 kB / 0.753 GB, free: 1.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.289e-05/0.5172, allocations: 27.98 kB / 0.7531 GB, free: 1.473 MB / 490.7 MB 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.0001868/0.5174, allocations: 216 kB / 0.7533 GB, free: 1.254 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/0.5177, allocations: 106.7 kB / 0.7534 GB, free: 1.148 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004397/0.5221, allocations: 1.327 MB / 0.7547 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.5221, allocations: 4 kB / 0.7547 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5221, allocations: 4 kB / 0.7547 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.5221, allocations: 3.984 kB / 0.7547 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006324/0.5284, allocations: 2.414 MB / 0.757 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.5285, allocations: 0 / 0.757 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/0.529, allocations: 104 kB / 0.7571 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/0.5301, allocations: 305.7 kB / 0.7574 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.774e-05/0.5302, allocations: 19.98 kB / 0.7574 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/0.5317, allocations: 0.9397 MB / 0.7584 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.5317, allocations: 8 kB / 0.7584 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006407/0.5381, allocations: 2.555 MB / 0.7609 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/0.5388, allocations: 279.5 kB / 0.7611 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/0.5391, allocations: 8 kB / 0.7611 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.5402, allocations: 115.7 kB / 0.7613 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.539e-05/0.5403, allocations: 36.39 kB / 0.7613 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.894e-05/0.5403, allocations: 31.92 kB / 0.7613 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009616/0.5413, allocations: 0.6557 MB / 0.762 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5413, allocations: 4 kB / 0.762 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002048/0.5434, allocations: 0.5847 MB / 0.7625 GB, free: 7.555 MB / 0.4948 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.0009541/0.5443, allocations: 380.2 kB / 0.7629 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004123/0.5485, allocations: 1.303 MB / 0.7642 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5485, allocations: 0 / 0.7642 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.5498, allocations: 464.8 kB / 0.7646 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002939/0.5528, allocations: 0.5054 MB / 0.7651 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.5572, allocations: 2.662 MB / 0.7677 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007107/0.558, allocations: 1.078 MB / 0.7688 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001083/0.5591, allocations: 230.9 kB / 0.769 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.5593, allocations: 83.41 kB / 0.7691 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of SimCode: time 4.3e-07/0.5593, allocations: 0 / 0.7691 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of Templates: time 0.0376/0.5969, allocations: 24.46 MB / 0.7929 GB, free: 8.641 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)