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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 108 kB / 15.6 MB, free: 132 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.001471/0.001471, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9532/0.9532, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 61.62 kB / 0.5053 GB, free: 5.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1778, allocations: 80.92 MB / 0.5844 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.334/0.5118, allocations: 61.18 MB / 0.6441 GB, free: 17.04 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01453/0.5264, allocations: 11.99 MB / 0.6558 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003464/0.5299, allocations: 56.62 kB / 0.6559 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003085/0.533, allocations: 0.6793 MB / 0.6565 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007206/0.5403, allocations: 1.967 MB / 0.6585 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.5436, allocations: 1.196 MB / 0.6596 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004394/0.5481, allocations: 3.076 MB / 0.6626 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001793/0.5499, allocations: 1.127 MB / 0.6637 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003321/0.5532, allocations: 1.326 MB / 0.665 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.5548, allocations: 0.9145 MB / 0.6659 GB, free: 3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002564/0.5551, allocations: 119.9 kB / 0.666 GB, free: 3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003223/0.5583, allocations: 1.437 MB / 0.6674 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003387/0.5587, allocations: 298.6 kB / 0.6677 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.5597, allocations: 0.6918 MB / 0.6684 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004269/0.564, allocations: 2.313 MB / 0.6707 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.564, allocations: 4 kB / 0.6707 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.863e-06/0.564, allocations: 0 / 0.6707 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.965e-05/0.5641, allocations: 0.6562 kB / 0.6707 GB, free: 1.004 MB / 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.003621/0.5677, allocations: 1.738 MB / 0.6724 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.5677, allocations: 9.938 kB / 0.6724 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002758/0.5705, allocations: 457.8 kB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/0.573, allocations: 1.107 MB / 0.6739 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003947/0.5734, allocations: 123.5 kB / 0.674 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.5736, allocations: 83.83 kB / 0.6741 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.576, allocations: 1.003 MB / 0.6751 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.576, allocations: 5.219 kB / 0.6751 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.668e-05/0.5761, allocations: 36.17 kB / 0.6751 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.5761, allocations: 18.91 kB / 0.6751 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002867/0.579, allocations: 0.9444 MB / 0.676 GB, free: 14.2 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.007581/0.5866, allocations: 4.72 MB / 0.6806 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004516/0.5911, allocations: 1.005 MB / 0.6816 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/0.5925, allocations: 413.6 kB / 0.682 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/0.5937, allocations: 1.019 MB / 0.683 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.5937, allocations: 42.42 kB / 0.6831 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.896e-06/0.5938, allocations: 0 / 0.6831 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.01122/0.605, allocations: 2.225 MB / 0.6852 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.6051, allocations: 61.62 kB / 0.6853 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.6067, allocations: 0.9508 MB / 0.6862 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001779/0.6069, allocations: 37.95 kB / 0.6863 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005045/0.6074, allocations: 0.504 MB / 0.6867 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.6077, allocations: 186.7 kB / 0.6869 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002851/0.608, allocations: 127.1 kB / 0.687 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.6081, allocations: 329.6 kB / 0.6874 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.6093, allocations: 357.2 kB / 0.6877 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.6106, allocations: 0.5167 MB / 0.6882 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/0.6129, allocations: 0.7667 MB / 0.689 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.613, allocations: 0 / 0.689 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003471/0.6164, allocations: 1.069 MB / 0.69 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.6165, allocations: 6.344 kB / 0.69 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.6165, allocations: 6.281 kB / 0.69 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.6179, allocations: 313.1 kB / 0.6903 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006682/0.6186, allocations: 132.7 kB / 0.6904 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.6202, allocations: 0.9093 MB / 0.6913 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.6215, allocations: 131.6 kB / 0.6914 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.335e-05/0.6216, allocations: 28.25 kB / 0.6915 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001469/0.6231, allocations: 0.5591 MB / 0.692 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0012/0.6243, allocations: 0.5212 MB / 0.6925 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002094/0.6264, allocations: 0.7534 MB / 0.6933 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.957e-06/0.6264, allocations: 5.656 kB / 0.6933 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003209/0.6296, allocations: 1.06 MB / 0.6943 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.6297, allocations: 8.594 kB / 0.6943 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6297, allocations: 6.938 kB / 0.6943 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.6309, allocations: 315.2 kB / 0.6946 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/0.6316, allocations: 133.3 kB / 0.6947 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.633, allocations: 0.8995 MB / 0.6956 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.6344, allocations: 126.5 kB / 0.6957 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.128e-05/0.6345, allocations: 26.28 kB / 0.6958 GB, free: 3.09 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 (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.0003022/0.6348, allocations: 214.5 kB / 0.696 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.635, allocations: 109.7 kB / 0.6961 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004835/0.6399, allocations: 1.321 MB / 0.6974 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.6399, allocations: 5.594 kB / 0.6974 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.6399, allocations: 3.938 kB / 0.6974 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.64, allocations: 4.188 kB / 0.6974 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006599/0.6466, allocations: 2.423 MB / 0.6998 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.6466, allocations: 2.562 kB / 0.6998 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/0.6472, allocations: 103.1 kB / 0.6999 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001078/0.6483, allocations: 309.1 kB / 0.7001 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/0.6483, allocations: 13.8 kB / 0.7002 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.6499, allocations: 0.9405 MB / 0.7011 GB, free: 268 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.6499, allocations: 13.16 kB / 0.7011 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004761/0.6547, allocations: 1.331 MB / 0.7024 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009227/0.6557, allocations: 285.5 kB / 0.7027 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.6558, allocations: 12.72 kB / 0.7027 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008749/0.6567, allocations: 76.12 kB / 0.7027 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.6568, allocations: 43.83 kB / 0.7028 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.881e-05/0.6569, allocations: 26.72 kB / 0.7028 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001091/0.658, allocations: 0.6626 MB / 0.7035 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.603e-06/0.658, allocations: 0 / 0.7035 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00235/0.6604, allocations: 0.5697 MB / 0.704 GB, free: 14.64 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 (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.001138/0.6615, allocations: 397.4 kB / 0.7044 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00438/0.6659, allocations: 1.346 MB / 0.7057 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.666, allocations: 5.375 kB / 0.7057 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.6673, allocations: 458.2 kB / 0.7062 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/0.6699, allocations: 487.6 kB / 0.7066 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.6738, allocations: 1.919 MB / 0.7085 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005964/0.6745, allocations: 1.065 MB / 0.7095 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001161/0.6756, allocations: 237.7 kB / 0.7098 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.6759, allocations: 83.22 kB / 0.7098 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of SimCode: time 1.332e-06/0.6759, allocations: 0 / 0.7098 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.04265/0.7185, allocations: 24.75 MB / 0.734 GB, free: 3.051 MB / 0.545 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)