Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 100.1 kB / 15.88 MB, free: 12 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.001675/0.001675, allocations: 197.5 kB / 16.79 MB, free: 6.809 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.459/1.459, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.067/1.067, allocations: 135.1 MB / 425.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 72.48 kB / 0.5053 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2249, allocations: 80.93 MB / 0.5843 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.4728/0.6978, allocations: 60.81 MB / 0.6437 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01557/0.7134, allocations: 12.05 MB / 0.6555 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003208/0.7166, allocations: 56.22 kB / 0.6556 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002386/0.7191, allocations: 0.5493 MB / 0.6561 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006285/0.7254, allocations: 1.814 MB / 0.6579 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003357/0.7288, allocations: 1.068 MB / 0.6589 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005696/0.7345, allocations: 3.902 MB / 0.6627 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001874/0.7364, allocations: 0.9306 MB / 0.6636 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.7397, allocations: 1.146 MB / 0.6647 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.7418, allocations: 0.9057 MB / 0.6656 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.742, allocations: 55.94 kB / 0.6657 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003814/0.7459, allocations: 1.356 MB / 0.667 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003625/0.7462, allocations: 232.4 kB / 0.6672 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.7474, allocations: 0.6379 MB / 0.6678 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003283/0.7506, allocations: 1.737 MB / 0.6695 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7507, allocations: 4 kB / 0.6695 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7507, allocations: 0 / 0.6695 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.615e-05/0.7507, allocations: 1.469 kB / 0.6695 GB, free: 2.395 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003882/0.7546, allocations: 1.729 MB / 0.6712 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.7547, allocations: 9.047 kB / 0.6712 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.7566, allocations: 340 kB / 0.6716 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.7591, allocations: 1.122 MB / 0.6727 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003724/0.7595, allocations: 122.5 kB / 0.6728 GB, free: 396 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.7596, allocations: 87.62 kB / 0.6729 GB, free: 364 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.7619, allocations: 0.9529 MB / 0.6738 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.7619, allocations: 1.125 kB / 0.6738 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.221e-05/0.762, allocations: 31.16 kB / 0.6738 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.762, allocations: 19.69 kB / 0.6738 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.7644, allocations: 0.812 MB / 0.6746 GB, free: 15.61 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.007886/0.7723, allocations: 4.753 MB / 0.6793 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.774, allocations: 0.5633 MB / 0.6798 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006462/0.7746, allocations: 266.4 kB / 0.6801 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001562/0.7762, allocations: 1.368 MB / 0.6814 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.7763, allocations: 41.95 kB / 0.6815 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.615e-06/0.7763, allocations: 0 / 0.6815 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008734/0.785, allocations: 1.823 MB / 0.6832 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.7851, allocations: 56.28 kB / 0.6833 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/0.7872, allocations: 1.046 MB / 0.6843 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.7874, allocations: 42.89 kB / 0.6844 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004937/0.7879, allocations: 0.5199 MB / 0.6849 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.788, allocations: 152.5 kB / 0.685 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.7883, allocations: 121.9 kB / 0.6851 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.7885, allocations: 334.4 kB / 0.6854 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008354/0.7893, allocations: 273 kB / 0.6857 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.7903, allocations: 481.3 kB / 0.6862 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.792, allocations: 0.6253 MB / 0.6868 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.792, allocations: 1.188 kB / 0.6868 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002943/0.795, allocations: 0.9239 MB / 0.6877 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.795, allocations: 7.625 kB / 0.6877 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.7951, allocations: 3.719 kB / 0.6877 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/0.7966, allocations: 325.5 kB / 0.688 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/0.7971, allocations: 106.8 kB / 0.6881 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.7989, allocations: 0.9174 MB / 0.689 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.8005, allocations: 159.7 kB / 0.6891 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-05/0.8006, allocations: 27.97 kB / 0.6892 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001356/0.802, allocations: 485.4 kB / 0.6896 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001161/0.8031, allocations: 480.1 kB / 0.6901 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001576/0.8047, allocations: 0.6226 MB / 0.6907 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.859e-06/0.8047, allocations: 1.25 kB / 0.6907 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002825/0.8076, allocations: 0.9209 MB / 0.6916 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.8076, allocations: 7.156 kB / 0.6916 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.8076, allocations: 4.656 kB / 0.6916 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.8089, allocations: 316.2 kB / 0.6919 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.8094, allocations: 117.3 kB / 0.692 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.811, allocations: 0.9057 MB / 0.6929 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.8126, allocations: 147.3 kB / 0.6931 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-05/0.8127, allocations: 31.41 kB / 0.6931 GB, free: 4.254 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.0003464/0.8131, allocations: 217.1 kB / 0.6933 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.8133, allocations: 107.4 kB / 0.6934 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/0.8172, allocations: 1.069 MB / 0.6944 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.8172, allocations: 7.578 kB / 0.6944 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.8173, allocations: 5.438 kB / 0.6944 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.8173, allocations: 0 / 0.6944 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005687/0.823, allocations: 2.071 MB / 0.6965 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.823, allocations: 6.125 kB / 0.6965 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.8232, allocations: 51.56 kB / 0.6965 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.8244, allocations: 317.2 kB / 0.6968 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.8245, allocations: 12.89 kB / 0.6968 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.8261, allocations: 0.9505 MB / 0.6978 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.8261, allocations: 2.719 kB / 0.6978 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003652/0.8298, allocations: 1.111 MB / 0.6989 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008304/0.8306, allocations: 257.7 kB / 0.6991 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.8308, allocations: 8.312 kB / 0.6991 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000851/0.8317, allocations: 93.03 kB / 0.6992 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.8318, allocations: 41.89 kB / 0.6992 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.253e-05/0.8318, allocations: 20.67 kB / 0.6993 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00151/0.8334, allocations: 0.7383 MB / 0.7 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8334, allocations: 0 / 0.7 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002145/0.8355, allocations: 0.5717 MB / 0.7005 GB, free: 0.7031 MB / 0.5137 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 (33): * Single equations (assignments): 28 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001104/0.8366, allocations: 402.5 kB / 0.7009 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002989/0.8396, allocations: 0.9906 MB / 0.7019 GB, free: 236 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.8397, allocations: 3.938 kB / 0.7019 GB, free: 232 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007713/0.8404, allocations: 322.7 kB / 0.7022 GB, free: 132 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.8431, allocations: 0.492 MB / 0.7027 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/0.8478, allocations: 2.249 MB / 0.7049 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007841/0.8486, allocations: 1.061 MB / 0.7059 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.8489, allocations: 79.08 kB / 0.706 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of SimCode: time 7.92e-07/0.8489, allocations: 1.125 kB / 0.706 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.03668/0.8856, allocations: 23.94 MB / 0.7294 GB, free: 7.887 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)