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.001353/0.001353, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.001411/0.001411, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.405/1.405, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8033/0.8033, allocations: 135.1 MB / 425.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 67.89 kB / 0.5055 GB, free: 8.727 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4286, allocations: 80.91 MB / 0.5845 GB, free: 25.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05291/0.4816, allocations: 60.69 MB / 0.6438 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01647/0.4981, allocations: 11.9 MB / 0.6554 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/0.5007, allocations: 51.69 kB / 0.6554 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.5028, allocations: 0.5828 MB / 0.656 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006172/0.5091, allocations: 1.82 MB / 0.6578 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.5124, allocations: 1.1 MB / 0.6589 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00462/0.517, allocations: 3.113 MB / 0.6619 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.5189, allocations: 1.127 MB / 0.663 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003583/0.5225, allocations: 1.332 MB / 0.6643 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.5244, allocations: 0.9491 MB / 0.6652 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004127/0.5248, allocations: 116 kB / 0.6653 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00338/0.5282, allocations: 1.454 MB / 0.6668 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004625/0.5287, allocations: 298.8 kB / 0.667 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.5301, allocations: 0.6998 MB / 0.6677 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003125/0.5332, allocations: 1.77 MB / 0.6695 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.5332, allocations: 4 kB / 0.6695 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5332, allocations: 0 / 0.6695 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.774e-05/0.5333, allocations: 4 kB / 0.6695 GB, free: 3.57 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.004412/0.5377, allocations: 1.734 MB / 0.6712 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5378, allocations: 9.109 kB / 0.6712 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002611/0.5404, allocations: 454.8 kB / 0.6716 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/0.543, allocations: 1.14 MB / 0.6727 GB, free: 128 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003441/0.5433, allocations: 117.9 kB / 0.6728 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.5435, allocations: 84.08 kB / 0.6729 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.5459, allocations: 1.002 MB / 0.6739 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.5459, allocations: 3.938 kB / 0.6739 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/0.546, allocations: 32 kB / 0.6739 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.5461, allocations: 20 kB / 0.6739 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002553/0.5486, allocations: 0.9524 MB / 0.6749 GB, free: 13.88 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.006262/0.5549, allocations: 4.68 MB / 0.6794 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00395/0.5589, allocations: 1.007 MB / 0.6804 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.5599, allocations: 413.9 kB / 0.6808 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009888/0.5609, allocations: 1.017 MB / 0.6818 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.561, allocations: 46.94 kB / 0.6819 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.645e-06/0.561, allocations: 0 / 0.6819 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.009245/0.5703, allocations: 2.224 MB / 0.684 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.5704, allocations: 63.78 kB / 0.6841 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.572, allocations: 0.9392 MB / 0.685 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.5721, allocations: 41.7 kB / 0.685 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004468/0.5726, allocations: 0.4963 MB / 0.6855 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.5729, allocations: 197.2 kB / 0.6857 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/0.5731, allocations: 122.1 kB / 0.6858 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5733, allocations: 330 kB / 0.6861 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.5743, allocations: 358.9 kB / 0.6865 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.5755, allocations: 0.5195 MB / 0.687 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.5775, allocations: 0.7619 MB / 0.6877 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.974e-06/0.5776, allocations: 7.922 kB / 0.6878 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003077/0.5806, allocations: 1.072 MB / 0.6888 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.5807, allocations: 4 kB / 0.6888 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.5807, allocations: 4 kB / 0.6888 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.582, allocations: 308.9 kB / 0.6891 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/0.5827, allocations: 131.8 kB / 0.6892 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.5843, allocations: 0.9074 MB / 0.6901 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.5856, allocations: 166.5 kB / 0.6903 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.5857, allocations: 27.98 kB / 0.6903 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001446/0.5872, allocations: 0.5596 MB / 0.6908 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001167/0.5883, allocations: 0.5116 MB / 0.6913 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001967/0.5903, allocations: 0.758 MB / 0.6921 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.639e-06/0.5903, allocations: 0 / 0.6921 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002989/0.5933, allocations: 1.06 MB / 0.6931 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.5934, allocations: 8 kB / 0.6931 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.5934, allocations: 7.875 kB / 0.6931 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.5945, allocations: 315.2 kB / 0.6934 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006258/0.5952, allocations: 123.8 kB / 0.6936 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.5966, allocations: 0.9114 MB / 0.6944 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.598, allocations: 143.5 kB / 0.6946 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.664e-05/0.5981, allocations: 31.98 kB / 0.6946 GB, free: 8.711 MB / 0.5294 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.0002823/0.5984, allocations: 217 kB / 0.6948 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003295/0.5987, allocations: 106.7 kB / 0.6949 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004541/0.6033, allocations: 1.325 MB / 0.6962 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.568e-05/0.6033, allocations: 7.984 kB / 0.6962 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.6033, allocations: 7.938 kB / 0.6962 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.6033, allocations: 3.938 kB / 0.6962 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006322/0.6097, allocations: 2.409 MB / 0.6986 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.6097, allocations: 8.031 kB / 0.6986 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005578/0.6103, allocations: 103.8 kB / 0.6987 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.6113, allocations: 307.2 kB / 0.699 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.486e-05/0.6114, allocations: 23.98 kB / 0.699 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.6129, allocations: 0.9424 MB / 0.6999 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.6129, allocations: 0 / 0.6999 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004305/0.6173, allocations: 1.343 MB / 0.7012 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006572/0.6179, allocations: 275.5 kB / 0.7015 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/0.6182, allocations: 15.98 kB / 0.7015 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.6194, allocations: 107.8 kB / 0.7016 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.6195, allocations: 40.39 kB / 0.7017 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-05/0.6196, allocations: 23.98 kB / 0.7017 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001181/0.6208, allocations: 0.6635 MB / 0.7023 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.764e-06/0.6208, allocations: 0 / 0.7023 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001922/0.6227, allocations: 0.569 MB / 0.7029 GB, free: 56 kB / 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.001041/0.6238, allocations: 381.3 kB / 0.7032 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003995/0.6278, allocations: 1.342 MB / 0.7046 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.6278, allocations: 3.938 kB / 0.7046 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.6291, allocations: 456.9 kB / 0.705 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/0.6317, allocations: 0.489 MB / 0.7055 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/0.6364, allocations: 2.354 MB / 0.7078 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007867/0.6373, allocations: 1.062 MB / 0.7088 GB, free: 9.926 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/0.6376, allocations: 87.39 kB / 0.7089 GB, free: 9.84 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/0.6376, allocations: 0 / 0.7089 GB, free: 9.84 MB / 0.545 GB Notification: Performance of Templates: time 0.03417/0.6718, allocations: 23.9 MB / 0.7322 GB, free: 2.102 MB / 0.5606 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)