Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009021/0.0009021, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009259/0.0009259, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9823/0.9823, allocations: 143.3 MB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004487, allocations: 11.98 kB / 0.5158 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1597, allocations: 83.4 MB / 0.5973 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.2904/0.4501, allocations: 51.29 MB / 0.6473 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01167/0.4618, allocations: 10.35 MB / 0.6575 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.4637, allocations: 50.44 kB / 0.6575 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.4657, allocations: 0.6237 MB / 0.6581 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006521/0.4723, allocations: 1.947 MB / 0.66 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003674/0.476, allocations: 1.305 MB / 0.6613 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003659/0.4796, allocations: 1.857 MB / 0.6631 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.4811, allocations: 0.8373 MB / 0.6639 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/0.4835, allocations: 0.9788 MB / 0.6649 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.4846, allocations: 0.6199 MB / 0.6655 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.4848, allocations: 43.88 kB / 0.6655 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.4871, allocations: 0.9832 MB / 0.6665 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.4873, allocations: 195.5 kB / 0.6667 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.4877, allocations: 288.8 kB / 0.6669 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.4901, allocations: 1.687 MB / 0.6686 GB, free: 216 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4901, allocations: 0 / 0.6686 GB, free: 216 kB / 0.4981 GB Notification: Performance of FrontEnd: time 3.115e-06/0.4901, allocations: 0.75 kB / 0.6686 GB, free: 216 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.551e-05/0.4902, allocations: 5.25 kB / 0.6686 GB, free: 212 kB / 0.4981 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.003775/0.4939, allocations: 1.488 MB / 0.67 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.494, allocations: 13.25 kB / 0.6701 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/0.4969, allocations: 0.5136 MB / 0.6706 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/0.4993, allocations: 1.063 MB / 0.6716 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003895/0.4997, allocations: 131.8 kB / 0.6717 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.4999, allocations: 80.53 kB / 0.6718 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.5023, allocations: 1.03 MB / 0.6728 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.5023, allocations: 0 / 0.6728 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-05/0.5024, allocations: 32.53 kB / 0.6728 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.5025, allocations: 20.28 kB / 0.6729 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002882/0.5054, allocations: 1.01 MB / 0.6738 GB, free: 13.58 MB / 0.5137 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.007342/0.5127, allocations: 4.741 MB / 0.6785 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004421/0.5172, allocations: 1.132 MB / 0.6796 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.5182, allocations: 1.033 MB / 0.6806 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.5182, allocations: 42.5 kB / 0.6806 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.205e-06/0.5182, allocations: 0 / 0.6806 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.01056/0.5288, allocations: 2.484 MB / 0.6831 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.5289, allocations: 58.09 kB / 0.6831 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.5306, allocations: 0.9424 MB / 0.684 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.5307, allocations: 38.64 kB / 0.6841 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004593/0.5312, allocations: 0.5107 MB / 0.6846 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.5314, allocations: 183.8 kB / 0.6847 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.5314, allocations: 10.69 kB / 0.6848 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5316, allocations: 329 kB / 0.6851 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.5327, allocations: 378.5 kB / 0.6854 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.534, allocations: 0.5415 MB / 0.686 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.5351, allocations: 400.3 kB / 0.6863 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.5351, allocations: 1.281 kB / 0.6863 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003251/0.5384, allocations: 1.119 MB / 0.6874 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003991/0.5388, allocations: 0.9696 MB / 0.6884 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.5388, allocations: 2.469 kB / 0.6884 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.5402, allocations: 332.5 kB / 0.6887 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/0.5409, allocations: 142.4 kB / 0.6888 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.5425, allocations: 0.9426 MB / 0.6898 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.5439, allocations: 170.4 kB / 0.6899 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.782e-05/0.544, allocations: 32.17 kB / 0.6899 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.544, allocations: 4.5 kB / 0.69 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00288/0.5469, allocations: 1.002 MB / 0.6909 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5469, allocations: 1.969 kB / 0.6909 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.5481, allocations: 320.8 kB / 0.6912 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.5488, allocations: 141.3 kB / 0.6914 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.5503, allocations: 0.9395 MB / 0.6923 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.5517, allocations: 169.7 kB / 0.6925 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.529e-05/0.5518, allocations: 27.55 kB / 0.6925 GB, free: 2.742 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.000689/0.5525, allocations: 356.7 kB / 0.6928 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/0.5528, allocations: 115 kB / 0.6929 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005055/0.5579, allocations: 1.433 MB / 0.6943 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.5579, allocations: 7.25 kB / 0.6943 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.558, allocations: 1 kB / 0.6943 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.558, allocations: 6.75 kB / 0.6943 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007508/0.5655, allocations: 2.548 MB / 0.6968 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.5655, allocations: 2.438 kB / 0.6968 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000612/0.5662, allocations: 119.8 kB / 0.6969 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/0.5673, allocations: 326.4 kB / 0.6973 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.036e-05/0.5674, allocations: 17.73 kB / 0.6973 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.5691, allocations: 0.9659 MB / 0.6982 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5691, allocations: 2.719 kB / 0.6982 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004635/0.5737, allocations: 1.527 MB / 0.6997 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007507/0.5745, allocations: 298.4 kB / 0.7 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.5748, allocations: 11.88 kB / 0.7 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.5759, allocations: 126.7 kB / 0.7001 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.576, allocations: 41.12 kB / 0.7002 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/0.5761, allocations: 32.14 kB / 0.7002 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001102/0.5772, allocations: 0.6599 MB / 0.7008 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5772, allocations: 1.75 kB / 0.7008 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001859/0.5791, allocations: 0.5761 MB / 0.7014 GB, free: 14.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008463/0.58, allocations: 396.9 kB / 0.7018 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003897/0.5839, allocations: 1.398 MB / 0.7032 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.5839, allocations: 4 kB / 0.7032 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.5852, allocations: 480.6 kB / 0.7036 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/0.5876, allocations: 0.4899 MB / 0.7041 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/0.5919, allocations: 2.311 MB / 0.7063 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006807/0.5926, allocations: 1.101 MB / 0.7074 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001094/0.5937, allocations: 235.2 kB / 0.7076 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/0.594, allocations: 83.34 kB / 0.7077 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.594, allocations: 3.938 kB / 0.7077 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of Templates: time 0.03818/0.6322, allocations: 23.6 MB / 0.7308 GB, free: 2.703 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) Environment - environmentSimulation: