Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.007024/0.007024, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001793/0.001793, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9685/0.9685, allocations: 135.1 MB / 425.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.89 kB / 0.5857 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4834/0.4847, allocations: 80.92 MB / 0.6647 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05556/0.5403, allocations: 61.24 MB / 0.7245 GB, free: 4.188 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0164/0.5567, allocations: 11.99 MB / 0.7362 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.5587, allocations: 59.62 kB / 0.7362 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.5604, allocations: 0.6908 MB / 0.7369 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005012/0.5654, allocations: 2.075 MB / 0.7389 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.5683, allocations: 1.214 MB / 0.7401 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003644/0.572, allocations: 3.106 MB / 0.7432 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.5734, allocations: 1.112 MB / 0.7443 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/0.5761, allocations: 1.386 MB / 0.7456 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.5772, allocations: 0.8945 MB / 0.7465 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.5774, allocations: 123.9 kB / 0.7466 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.5799, allocations: 1.447 MB / 0.748 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.5802, allocations: 294.8 kB / 0.7483 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006542/0.5808, allocations: 0.6997 MB / 0.749 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002818/0.5837, allocations: 2.316 MB / 0.7512 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.5837, allocations: 7.938 kB / 0.7512 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5837, allocations: 0 / 0.7512 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.5837, allocations: 0 / 0.7512 GB, free: 8.688 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.002869/0.5866, allocations: 1.742 MB / 0.7529 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5866, allocations: 12.03 kB / 0.753 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.5888, allocations: 414.5 kB / 0.7534 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/0.5908, allocations: 1.163 MB / 0.7545 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.827e-05/0.5909, allocations: 66 kB / 0.7546 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.591, allocations: 84 kB / 0.7546 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.5931, allocations: 1.017 MB / 0.7556 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.5931, allocations: 0 / 0.7556 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-05/0.5932, allocations: 36 kB / 0.7557 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.5932, allocations: 23.94 kB / 0.7557 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002363/0.5956, allocations: 0.8897 MB / 0.7565 GB, free: 3.074 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.006082/0.6017, allocations: 5.24 MB / 0.7617 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003451/0.6051, allocations: 0.7856 MB / 0.7624 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008542/0.606, allocations: 312.6 kB / 0.7627 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006286/0.6067, allocations: 0.9064 MB / 0.7636 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.6067, allocations: 42.56 kB / 0.7637 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/0.6067, allocations: 0 / 0.7637 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.008568/0.6153, allocations: 1.881 MB / 0.7655 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.6153, allocations: 59.41 kB / 0.7656 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.6169, allocations: 1.08 MB / 0.7666 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.072e-05/0.617, allocations: 41.7 kB / 0.7666 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004/0.6174, allocations: 0.535 MB / 0.7672 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.6176, allocations: 157.7 kB / 0.7673 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.6178, allocations: 138.2 kB / 0.7675 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.6179, allocations: 333.9 kB / 0.7678 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009647/0.6189, allocations: 319.2 kB / 0.7681 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.62, allocations: 0.5463 MB / 0.7686 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.6218, allocations: 0.7543 MB / 0.7693 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.6219, allocations: 3.938 kB / 0.7693 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003709/0.6256, allocations: 1.168 MB / 0.7705 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.6256, allocations: 15.88 kB / 0.7705 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.6256, allocations: 4 kB / 0.7705 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.6269, allocations: 308.7 kB / 0.7708 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/0.6275, allocations: 139.8 kB / 0.7709 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.6289, allocations: 0.8957 MB / 0.7718 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.6301, allocations: 163.2 kB / 0.772 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.625e-05/0.6302, allocations: 28 kB / 0.772 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00126/0.6315, allocations: 0.5261 MB / 0.7725 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001127/0.6326, allocations: 0.557 MB / 0.773 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001756/0.6344, allocations: 0.7297 MB / 0.7738 GB, free: 400 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.119e-06/0.6344, allocations: 3.938 kB / 0.7738 GB, free: 396 kB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003564/0.638, allocations: 1.16 MB / 0.7749 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.638, allocations: 8 kB / 0.7749 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.638, allocations: 4 kB / 0.7749 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.6391, allocations: 300.7 kB / 0.7752 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/0.6397, allocations: 135.8 kB / 0.7753 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.6411, allocations: 0.8918 MB / 0.7762 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.6425, allocations: 147.5 kB / 0.7763 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.241e-05/0.6425, allocations: 31.98 kB / 0.7764 GB, free: 13.68 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0003324/0.6429, allocations: 220 kB / 0.7766 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.6431, allocations: 114.6 kB / 0.7767 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/0.6471, allocations: 1.122 MB / 0.7778 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.6471, allocations: 11.98 kB / 0.7778 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.6471, allocations: 0 / 0.7778 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.6471, allocations: 7.938 kB / 0.7778 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005187/0.6523, allocations: 2.195 MB / 0.7799 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.6523, allocations: 4 kB / 0.7799 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.6527, allocations: 71.88 kB / 0.78 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009969/0.6537, allocations: 299 kB / 0.7803 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.6537, allocations: 12 kB / 0.7803 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.6552, allocations: 0.9191 MB / 0.7812 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6552, allocations: 7.969 kB / 0.7812 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003791/0.659, allocations: 1.197 MB / 0.7824 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/0.6594, allocations: 259.6 kB / 0.7826 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.6596, allocations: 19.98 kB / 0.7827 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00087/0.6604, allocations: 75.91 kB / 0.7827 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.82e-05/0.6606, allocations: 47.77 kB / 0.7828 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.6606, allocations: 23.98 kB / 0.7828 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001166/0.6618, allocations: 0.7553 MB / 0.7835 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6618, allocations: 0 / 0.7835 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001522/0.6633, allocations: 0.5731 MB / 0.7841 GB, free: 5.562 MB / 0.6075 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.0008092/0.6641, allocations: 392 kB / 0.7845 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003376/0.6675, allocations: 1.179 MB / 0.7856 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6675, allocations: 192 / 0.7856 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009771/0.6685, allocations: 366.7 kB / 0.786 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.6707, allocations: 0.5143 MB / 0.7865 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00559/0.6763, allocations: 2.028 MB / 0.7885 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008326/0.6772, allocations: 1.065 MB / 0.7895 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009382/0.6781, allocations: 224.5 kB / 0.7897 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.6783, allocations: 75.42 kB / 0.7898 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of SimCode: time 1.122e-06/0.6783, allocations: 0 / 0.7898 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of Templates: time 0.04539/0.7237, allocations: 25.39 MB / 0.8146 GB, free: 6.559 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)