Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009018/0.0009018, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6827/0.6827, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002765, allocations: 8.625 kB / 495.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1538, allocations: 77.54 MB / 0.56 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.3372/0.4911, allocations: 59.75 MB / 0.6183 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01934/0.5105, allocations: 11.93 MB / 0.63 GB, free: 7.109 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002837/0.5134, allocations: 58.38 kB / 0.63 GB, free: 7.082 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.5152, allocations: 0.5444 MB / 0.6305 GB, free: 6.754 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005602/0.5208, allocations: 1.809 MB / 0.6323 GB, free: 5.676 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.5239, allocations: 1.075 MB / 0.6334 GB, free: 5.02 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005414/0.5293, allocations: 3.917 MB / 0.6372 GB, free: 2.832 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.5309, allocations: 0.9188 MB / 0.6381 GB, free: 2.246 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.5335, allocations: 1.126 MB / 0.6392 GB, free: 1.594 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.5347, allocations: 0.8601 MB / 0.64 GB, free: 1.094 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.5348, allocations: 41.75 kB / 0.6401 GB, free: 1.094 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002616/0.5374, allocations: 1.327 MB / 0.6414 GB, free: 348 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.5377, allocations: 219.1 kB / 0.6416 GB, free: 180 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006989/0.5384, allocations: 0.6331 MB / 0.6422 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002884/0.5413, allocations: 2.21 MB / 0.6443 GB, free: 14.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5413, allocations: 0 / 0.6443 GB, free: 14.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5413, allocations: 0 / 0.6443 GB, free: 14.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.972e-05/0.5413, allocations: 0 / 0.6443 GB, free: 14.32 MB / 478.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.002863/0.5442, allocations: 1.509 MB / 0.6458 GB, free: 13.14 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.5442, allocations: 9.625 kB / 0.6458 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/0.5466, allocations: 469.4 kB / 0.6463 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.5488, allocations: 1.135 MB / 0.6474 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003541/0.5492, allocations: 133.7 kB / 0.6475 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.5493, allocations: 85.97 kB / 0.6476 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.5515, allocations: 1.028 MB / 0.6486 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.5515, allocations: 0 / 0.6486 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.988e-05/0.5516, allocations: 40.34 kB / 0.6486 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.5516, allocations: 23.97 kB / 0.6487 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002594/0.5542, allocations: 0.9542 MB / 0.6496 GB, free: 10.83 MB / 478.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.007542/0.5618, allocations: 4.932 MB / 0.6544 GB, free: 5.555 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00361/0.5654, allocations: 0.8975 MB / 0.6553 GB, free: 4.648 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008513/0.5663, allocations: 344.6 kB / 0.6556 GB, free: 4.309 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006519/0.567, allocations: 0.9025 MB / 0.6565 GB, free: 3.203 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.567, allocations: 50.44 kB / 0.6565 GB, free: 3.145 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 1.884e-06/0.567, allocations: 0 / 0.6565 GB, free: 3.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.00964/0.5767, allocations: 2.216 MB / 0.6587 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.5767, allocations: 59.34 kB / 0.6588 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.5783, allocations: 1.06 MB / 0.6598 GB, free: 15.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.143e-05/0.5784, allocations: 45.7 kB / 0.6598 GB, free: 15.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/0.5788, allocations: 0.5234 MB / 0.6603 GB, free: 15.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.579, allocations: 165.7 kB / 0.6605 GB, free: 15.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.831e-05/0.5791, allocations: 45.7 kB / 0.6605 GB, free: 14.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5792, allocations: 326 kB / 0.6609 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.5802, allocations: 348.9 kB / 0.6612 GB, free: 14.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.5814, allocations: 0.5529 MB / 0.6617 GB, free: 13.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/0.5833, allocations: 0.7764 MB / 0.6625 GB, free: 12.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5833, allocations: 0 / 0.6625 GB, free: 12.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002986/0.5863, allocations: 1.09 MB / 0.6636 GB, free: 11.72 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.5865, allocations: 213.3 kB / 0.6638 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.5865, allocations: 4 kB / 0.6638 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.5878, allocations: 333.6 kB / 0.6641 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/0.5884, allocations: 139.8 kB / 0.6642 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.5899, allocations: 0.9483 MB / 0.6651 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.5914, allocations: 199.2 kB / 0.6653 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.806e-05/0.5914, allocations: 31.98 kB / 0.6654 GB, free: 9.781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.5914, allocations: 4 kB / 0.6654 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002733/0.5942, allocations: 0.949 MB / 0.6663 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.5942, allocations: 4 kB / 0.6663 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/0.5954, allocations: 329 kB / 0.6666 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/0.596, allocations: 135.8 kB / 0.6667 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.5974, allocations: 0.9373 MB / 0.6677 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.5987, allocations: 186.1 kB / 0.6678 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.09e-05/0.5988, allocations: 28 kB / 0.6679 GB, free: 7.195 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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.0004975/0.5993, allocations: 353 kB / 0.6682 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.5995, allocations: 110.6 kB / 0.6683 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004216/0.6037, allocations: 1.246 MB / 0.6695 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.6037, allocations: 7.938 kB / 0.6695 GB, free: 5.473 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.6037, allocations: 4 kB / 0.6695 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.6037, allocations: 7.922 kB / 0.6695 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005562/0.6093, allocations: 2.328 MB / 0.6718 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.6093, allocations: 4 kB / 0.6718 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.6097, allocations: 83.81 kB / 0.6719 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.6108, allocations: 326.5 kB / 0.6722 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.6108, allocations: 19.98 kB / 0.6722 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.6124, allocations: 0.9544 MB / 0.6732 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-06/0.6124, allocations: 3.938 kB / 0.6732 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004115/0.6165, allocations: 1.326 MB / 0.6745 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005481/0.6171, allocations: 279.4 kB / 0.6747 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.6172, allocations: 15.98 kB / 0.6747 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009734/0.6182, allocations: 119.8 kB / 0.6748 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/0.6183, allocations: 47.67 kB / 0.6749 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.03e-05/0.6183, allocations: 23.98 kB / 0.6749 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001155/0.6195, allocations: 0.7471 MB / 0.6756 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.91e-07/0.6195, allocations: 0 / 0.6756 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001605/0.6211, allocations: 0.5652 MB / 0.6762 GB, free: 14.45 MB / 0.4981 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 (34): * Single equations (assignments): 29 * 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007104/0.6218, allocations: 381.9 kB / 0.6766 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003445/0.6253, allocations: 1.227 MB / 0.6778 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6253, allocations: 128 / 0.6778 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.6263, allocations: 406.3 kB / 0.6781 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003003/0.6294, allocations: 0.503 MB / 0.6786 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005753/0.6351, allocations: 2.558 MB / 0.6811 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/0.6357, allocations: 1.069 MB / 0.6822 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009999/0.6367, allocations: 224.7 kB / 0.6824 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.6369, allocations: 75.42 kB / 0.6825 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/0.637, allocations: 0 / 0.6825 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of Templates: time 0.03972/0.6767, allocations: 24.11 MB / 0.706 GB, free: 140 kB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)