Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0007775/0.0007774, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004867/0.004867, allocations: 169.4 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005255/0.0005256, allocations: 18.22 kB / 0.6743 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2352, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05731/0.2926, allocations: 59.78 MB / 0.8463 GB, free: 15.59 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01651/0.3091, allocations: 11.84 MB / 0.8578 GB, free: 3.723 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.3116, allocations: 59.62 kB / 0.8579 GB, free: 3.664 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.3138, allocations: 0.5555 MB / 0.8584 GB, free: 3.105 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005721/0.3195, allocations: 1.781 MB / 0.8602 GB, free: 1.32 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.3227, allocations: 1.089 MB / 0.8612 GB, free: 244 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004545/0.3272, allocations: 3.909 MB / 0.865 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.3286, allocations: 0.9148 MB / 0.8659 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0023/0.3309, allocations: 1.12 MB / 0.867 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.3321, allocations: 0.8592 MB / 0.8679 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.3323, allocations: 48 kB / 0.8679 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002652/0.3349, allocations: 1.333 MB / 0.8692 GB, free: 8 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002448/0.3352, allocations: 214.9 kB / 0.8694 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007458/0.3359, allocations: 0.635 MB / 0.87 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002953/0.3389, allocations: 2.208 MB / 0.8722 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3389, allocations: 0 / 0.8722 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.532e-06/0.3389, allocations: 0 / 0.8722 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.875e-05/0.339, allocations: 4 kB / 0.8722 GB, free: 4.926 MB / 0.6856 GB 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.002908/0.3419, allocations: 1.497 MB / 0.8737 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3419, allocations: 12.03 kB / 0.8737 GB, free: 3.359 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002593/0.3445, allocations: 0.5182 MB / 0.8742 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.3467, allocations: 1.136 MB / 0.8753 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003681/0.3471, allocations: 137.9 kB / 0.8754 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.3472, allocations: 80 kB / 0.8755 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.3495, allocations: 1.033 MB / 0.8765 GB, free: 376 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.3495, allocations: 0 / 0.8765 GB, free: 376 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-05/0.3496, allocations: 36 kB / 0.8765 GB, free: 340 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.3496, allocations: 20 kB / 0.8765 GB, free: 320 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002763/0.3524, allocations: 1.015 MB / 0.8775 GB, free: 15.3 MB / 0.7012 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.007073/0.3595, allocations: 4.716 MB / 0.8821 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004171/0.3637, allocations: 1.125 MB / 0.8832 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.3648, allocations: 448.9 kB / 0.8837 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/0.3658, allocations: 1.029 MB / 0.8847 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.3659, allocations: 39 kB / 0.8847 GB, free: 7.367 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 3.417e-06/0.3659, allocations: 0 / 0.8847 GB, free: 7.367 MB / 0.7012 GB Notification: Performance of matching and sorting (n=53): time 0.01008/0.376, allocations: 2.502 MB / 0.8872 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3761, allocations: 55.84 kB / 0.8872 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.3776, allocations: 0.9431 MB / 0.8881 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.3777, allocations: 41.7 kB / 0.8882 GB, free: 3.758 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/0.3781, allocations: 0.508 MB / 0.8887 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.3783, allocations: 181.2 kB / 0.8888 GB, free: 3.066 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.3784, allocations: 57.69 kB / 0.8889 GB, free: 3.004 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3785, allocations: 326 kB / 0.8892 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.3796, allocations: 380.9 kB / 0.8896 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.3808, allocations: 0.5506 MB / 0.8901 GB, free: 1.695 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.3829, allocations: 0.8244 MB / 0.8909 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3829, allocations: 0 / 0.8909 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003142/0.3861, allocations: 1.139 MB / 0.892 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.3862, allocations: 164.4 kB / 0.8922 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3862, allocations: 4 kB / 0.8922 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.3875, allocations: 332.6 kB / 0.8925 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/0.3882, allocations: 143.8 kB / 0.8926 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.3897, allocations: 0.9452 MB / 0.8936 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.391, allocations: 172 kB / 0.8937 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-05/0.3911, allocations: 31.98 kB / 0.8938 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.3911, allocations: 4 kB / 0.8938 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002767/0.3939, allocations: 1.005 MB / 0.8947 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3939, allocations: 0 / 0.8947 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.395, allocations: 324.8 kB / 0.8951 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006545/0.3957, allocations: 143.8 kB / 0.8952 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.3973, allocations: 0.9369 MB / 0.8961 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.3986, allocations: 171.4 kB / 0.8963 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.496e-05/0.3987, allocations: 31.98 kB / 0.8963 GB, free: 11.21 MB / 0.7169 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.0006057/0.3993, allocations: 345 kB / 0.8966 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.3995, allocations: 122.5 kB / 0.8967 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004737/0.4042, allocations: 1.439 MB / 0.8981 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.4043, allocations: 11.94 kB / 0.8982 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4043, allocations: 0 / 0.8982 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.4043, allocations: 3.984 kB / 0.8982 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006437/0.4108, allocations: 2.526 MB / 0.9006 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.4108, allocations: 7.938 kB / 0.9006 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005694/0.4114, allocations: 116 kB / 0.9007 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/0.4125, allocations: 316.5 kB / 0.9011 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.4126, allocations: 19.98 kB / 0.9011 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.4142, allocations: 0.9737 MB / 0.902 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4142, allocations: 0 / 0.902 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004683/0.4189, allocations: 1.456 MB / 0.9034 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006549/0.4195, allocations: 291.4 kB / 0.9037 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.4197, allocations: 12 kB / 0.9037 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009634/0.4206, allocations: 127.8 kB / 0.9039 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.4207, allocations: 40.33 kB / 0.9039 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.087e-05/0.4208, allocations: 23.98 kB / 0.9039 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000985/0.4218, allocations: 0.6598 MB / 0.9046 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4218, allocations: 7.938 kB / 0.9046 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001698/0.4235, allocations: 0.5652 MB / 0.9051 GB, free: 1.98 MB / 0.7169 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.000875/0.4244, allocations: 389.2 kB / 0.9055 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003788/0.4282, allocations: 1.405 MB / 0.9069 GB, free: 200 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.4282, allocations: 0 / 0.9069 GB, free: 200 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.4295, allocations: 484.9 kB / 0.9073 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/0.4325, allocations: 0.5048 MB / 0.9078 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.4367, allocations: 2.388 MB / 0.9102 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.4374, allocations: 1.07 MB / 0.9112 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001177/0.4386, allocations: 236 kB / 0.9114 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.4388, allocations: 87.41 kB / 0.9115 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of SimCode: time 1.302e-06/0.4388, allocations: 0 / 0.9115 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of Templates: time 0.4313/0.8701, allocations: 23.82 MB / 0.9348 GB, free: 130.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) Environment - environmentSimulation: