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.005795/0.005795, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001456/0.001456, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9167/0.9167, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.91 kB / 0.5856 GB, free: 3.391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4043, allocations: 80.92 MB / 0.6647 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05948/0.4639, allocations: 61.19 MB / 0.7244 GB, free: 4.305 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01671/0.4806, allocations: 11.99 MB / 0.7361 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.483, allocations: 55.69 kB / 0.7362 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002361/0.4853, allocations: 0.7025 MB / 0.7369 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00741/0.4928, allocations: 2.064 MB / 0.7389 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003521/0.4964, allocations: 1.213 MB / 0.7401 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004865/0.5012, allocations: 3.083 MB / 0.7431 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002268/0.5035, allocations: 1.128 MB / 0.7442 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003479/0.507, allocations: 1.372 MB / 0.7455 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.5087, allocations: 0.9178 MB / 0.7464 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003887/0.5091, allocations: 120 kB / 0.7465 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003116/0.5122, allocations: 1.435 MB / 0.7479 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004443/0.5127, allocations: 294.9 kB / 0.7482 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.5139, allocations: 0.7114 MB / 0.7489 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003849/0.5177, allocations: 2.327 MB / 0.7512 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.5178, allocations: 0 / 0.7512 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5178, allocations: 0 / 0.7512 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.935e-05/0.5178, allocations: 0 / 0.7512 GB, free: 8.809 MB / 0.5762 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.0043/0.5221, allocations: 1.738 MB / 0.7529 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/0.5222, allocations: 12.03 kB / 0.7529 GB, free: 7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.5247, allocations: 462.5 kB / 0.7533 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002969/0.5277, allocations: 1.175 MB / 0.7545 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.956e-05/0.5278, allocations: 58 kB / 0.7545 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.528, allocations: 80 kB / 0.7546 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.5303, allocations: 1.002 MB / 0.7556 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.5303, allocations: 0 / 0.7556 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.122e-05/0.5304, allocations: 39.98 kB / 0.7556 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/0.5305, allocations: 24 kB / 0.7556 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/0.5329, allocations: 0.9406 MB / 0.7566 GB, free: 3.141 MB / 0.5762 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.006212/0.5392, allocations: 4.677 MB / 0.7611 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003606/0.5428, allocations: 0.9852 MB / 0.7621 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009683/0.5438, allocations: 413.1 kB / 0.7625 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/0.5451, allocations: 1.021 MB / 0.7635 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.5451, allocations: 35 kB / 0.7635 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 3.626e-06/0.5451, allocations: 0 / 0.7635 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.009418/0.5545, allocations: 2.17 MB / 0.7656 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.5547, allocations: 55.84 kB / 0.7657 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/0.5563, allocations: 0.951 MB / 0.7666 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.5564, allocations: 37.7 kB / 0.7666 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004127/0.5568, allocations: 0.5001 MB / 0.7671 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.557, allocations: 181.3 kB / 0.7673 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.5573, allocations: 130.1 kB / 0.7674 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5574, allocations: 326 kB / 0.7677 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009625/0.5584, allocations: 354.9 kB / 0.7681 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.5595, allocations: 0.5155 MB / 0.7686 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.5614, allocations: 0.7502 MB / 0.7693 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5614, allocations: 0 / 0.7693 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002739/0.5641, allocations: 1.061 MB / 0.7703 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.5642, allocations: 12.06 kB / 0.7704 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.5642, allocations: 0 / 0.7704 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.5654, allocations: 304.5 kB / 0.7706 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.566, allocations: 139.8 kB / 0.7708 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.5674, allocations: 0.8914 MB / 0.7717 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.5684, allocations: 127.3 kB / 0.7718 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.247e-05/0.5685, allocations: 27.98 kB / 0.7718 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001279/0.5698, allocations: 0.5611 MB / 0.7723 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001057/0.5708, allocations: 0.4999 MB / 0.7728 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001839/0.5727, allocations: 0.754 MB / 0.7736 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.736e-06/0.5727, allocations: 0 / 0.7736 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002882/0.5756, allocations: 1.045 MB / 0.7746 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.5756, allocations: 11.94 kB / 0.7746 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.5756, allocations: 7.938 kB / 0.7746 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.5767, allocations: 296.8 kB / 0.7749 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/0.5773, allocations: 139.8 kB / 0.775 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.5785, allocations: 0.8725 MB / 0.7759 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.5797, allocations: 119.5 kB / 0.776 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-05/0.5797, allocations: 27.98 kB / 0.776 GB, free: 14.25 MB / 0.6075 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.0002438/0.58, allocations: 221.2 kB / 0.7762 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.5802, allocations: 106.7 kB / 0.7763 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00403/0.5842, allocations: 1.303 MB / 0.7776 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.5843, allocations: 11.98 kB / 0.7776 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5843, allocations: 0 / 0.7776 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.5843, allocations: 7.938 kB / 0.7776 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00542/0.5897, allocations: 2.404 MB / 0.78 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.5897, allocations: 4 kB / 0.78 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.5903, allocations: 104 kB / 0.7801 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009243/0.5912, allocations: 296.5 kB / 0.7804 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.5913, allocations: 19.98 kB / 0.7804 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.5926, allocations: 0.923 MB / 0.7813 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5926, allocations: 0 / 0.7813 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003773/0.5964, allocations: 1.339 MB / 0.7826 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005096/0.5969, allocations: 279.5 kB / 0.7829 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.597, allocations: 12 kB / 0.7829 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000749/0.5978, allocations: 83.78 kB / 0.7829 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/0.5979, allocations: 44.38 kB / 0.783 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.929e-05/0.598, allocations: 23.98 kB / 0.783 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008719/0.5988, allocations: 0.6596 MB / 0.7837 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5988, allocations: 0 / 0.7837 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001394/0.6002, allocations: 0.5692 MB / 0.7842 GB, free: 5.672 MB / 0.6075 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.0007646/0.601, allocations: 380.4 kB / 0.7846 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003523/0.6046, allocations: 1.311 MB / 0.7859 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.6046, allocations: 0 / 0.7859 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.6057, allocations: 460.8 kB / 0.7863 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.6077, allocations: 0.4911 MB / 0.7868 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.6113, allocations: 1.871 MB / 0.7886 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/0.6119, allocations: 1.066 MB / 0.7896 GB, free: 36 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008047/0.6127, allocations: 235.8 kB / 0.7899 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.6129, allocations: 83.34 kB / 0.7899 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of SimCode: time 6.81e-07/0.6129, allocations: 0 / 0.7899 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of Templates: time 0.04081/0.6537, allocations: 24.87 MB / 0.8142 GB, free: 7.145 MB / 0.6387 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)