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.001067/0.001067, allocations: 107.7 kB / 17.02 MB, free: 5.699 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.001058/0.001058, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.31/1.31, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7241/0.7241, allocations: 115.1 MB / 406.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.91 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2969, allocations: 76.15 MB / 0.5576 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04914/0.3461, allocations: 61.16 MB / 0.6173 GB, free: 7.258 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01639/0.3625, allocations: 11.99 MB / 0.629 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.3643, allocations: 59.62 kB / 0.6291 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.366, allocations: 0.683 MB / 0.6297 GB, free: 10.49 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00462/0.3706, allocations: 1.963 MB / 0.6316 GB, free: 8.516 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.3733, allocations: 1.221 MB / 0.6328 GB, free: 7.309 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003519/0.3769, allocations: 3.091 MB / 0.6358 GB, free: 4.211 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.3783, allocations: 1.125 MB / 0.6369 GB, free: 3.051 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002601/0.3809, allocations: 1.333 MB / 0.6382 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.3821, allocations: 0.9023 MB / 0.6391 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.3823, allocations: 116 kB / 0.6392 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/0.3848, allocations: 1.45 MB / 0.6407 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002816/0.3851, allocations: 298.8 kB / 0.6409 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006919/0.3858, allocations: 0.6997 MB / 0.6416 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002786/0.3886, allocations: 2.325 MB / 0.6439 GB, free: 11.92 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3886, allocations: 3.938 kB / 0.6439 GB, free: 11.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.001e-05/0.3886, allocations: 4 kB / 0.6439 GB, free: 11.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.3887, allocations: 0 / 0.6439 GB, free: 11.91 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.003018/0.3917, allocations: 1.734 MB / 0.6456 GB, free: 10.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.3917, allocations: 8.031 kB / 0.6456 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/0.3942, allocations: 458.8 kB / 0.646 GB, free: 9.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002162/0.3964, allocations: 1.179 MB / 0.6472 GB, free: 8.422 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/0.3964, allocations: 62 kB / 0.6473 GB, free: 8.363 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.3965, allocations: 84 kB / 0.6473 GB, free: 8.281 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.3986, allocations: 0.9939 MB / 0.6483 GB, free: 7.254 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.3986, allocations: 4 kB / 0.6483 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/0.3987, allocations: 32 kB / 0.6483 GB, free: 7.219 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.3987, allocations: 27.94 kB / 0.6484 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.4012, allocations: 0.9407 MB / 0.6493 GB, free: 6.254 MB / 494.1 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.005989/0.4072, allocations: 4.678 MB / 0.6539 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003837/0.411, allocations: 0.9808 MB / 0.6548 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.4121, allocations: 422 kB / 0.6552 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000953/0.413, allocations: 1.013 MB / 0.6562 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.4131, allocations: 39 kB / 0.6562 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.325e-06/0.4131, allocations: 0 / 0.6562 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.008897/0.422, allocations: 2.17 MB / 0.6584 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.422, allocations: 59.78 kB / 0.6584 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.4233, allocations: 0.9432 MB / 0.6593 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.002e-05/0.4234, allocations: 41.7 kB / 0.6594 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003958/0.4238, allocations: 0.5001 MB / 0.6599 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.4239, allocations: 185.3 kB / 0.66 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.4242, allocations: 126.1 kB / 0.6602 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4243, allocations: 333.9 kB / 0.6605 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.4253, allocations: 358.8 kB / 0.6608 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.4265, allocations: 0.5155 MB / 0.6613 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.4284, allocations: 0.7502 MB / 0.6621 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4284, allocations: 0 / 0.6621 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002806/0.4312, allocations: 1.061 MB / 0.6631 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.4312, allocations: 8.031 kB / 0.6631 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.4313, allocations: 4 kB / 0.6631 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.4325, allocations: 307.1 kB / 0.6634 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000662/0.4331, allocations: 135.8 kB / 0.6635 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.4345, allocations: 0.888 MB / 0.6644 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000953/0.4355, allocations: 127.2 kB / 0.6645 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.359e-05/0.4356, allocations: 35.91 kB / 0.6645 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001287/0.4369, allocations: 0.5556 MB / 0.6651 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001121/0.438, allocations: 0.5049 MB / 0.6656 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001908/0.4399, allocations: 0.754 MB / 0.6663 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.4399, allocations: 0 / 0.6663 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002747/0.4427, allocations: 1.041 MB / 0.6673 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.4427, allocations: 4 kB / 0.6673 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4427, allocations: 4 kB / 0.6673 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.4437, allocations: 292.9 kB / 0.6676 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/0.4444, allocations: 131.8 kB / 0.6678 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.4457, allocations: 0.8975 MB / 0.6686 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009332/0.4466, allocations: 107.7 kB / 0.6687 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/0.4467, allocations: 31.97 kB / 0.6688 GB, free: 1.352 MB / 0.4981 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.0002057/0.4469, allocations: 224 kB / 0.669 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.4471, allocations: 106.7 kB / 0.6691 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/0.4514, allocations: 1.306 MB / 0.6704 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.4515, allocations: 8 kB / 0.6704 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4515, allocations: 0 / 0.6704 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4515, allocations: 7.984 kB / 0.6704 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005562/0.457, allocations: 2.404 MB / 0.6727 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.4571, allocations: 0 / 0.6727 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/0.4576, allocations: 104 kB / 0.6728 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009445/0.4586, allocations: 291 kB / 0.6731 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/0.4587, allocations: 19.98 kB / 0.6731 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/0.4601, allocations: 0.9191 MB / 0.674 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.4601, allocations: 8.031 kB / 0.674 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004213/0.4643, allocations: 1.327 MB / 0.6753 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005042/0.4648, allocations: 279.5 kB / 0.6756 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.465, allocations: 19.97 kB / 0.6756 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008462/0.4658, allocations: 79.8 kB / 0.6757 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.4659, allocations: 44.31 kB / 0.6757 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.56e-05/0.466, allocations: 23.98 kB / 0.6757 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009113/0.4669, allocations: 0.6635 MB / 0.6764 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4669, allocations: 0 / 0.6764 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001494/0.4684, allocations: 0.573 MB / 0.6769 GB, free: 8.789 MB / 0.5137 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.0008426/0.4693, allocations: 389.5 kB / 0.6773 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00369/0.473, allocations: 1.303 MB / 0.6786 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.473, allocations: 0 / 0.6786 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.4742, allocations: 456.8 kB / 0.679 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.4763, allocations: 0.4888 MB / 0.6795 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.4799, allocations: 1.891 MB / 0.6813 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/0.4805, allocations: 1.066 MB / 0.6824 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008761/0.4814, allocations: 230.6 kB / 0.6826 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.4816, allocations: 79.41 kB / 0.6827 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of SimCode: time 6.51e-07/0.4816, allocations: 0 / 0.6827 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of Templates: time 0.03725/0.5189, allocations: 24.71 MB / 0.7068 GB, free: 10.43 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)