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.0009881/0.0009881, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008207/0.008207, allocations: 170 kB / 16.27 MB, free: 6.652 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.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9721/0.9721, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003768, allocations: 8 kB / 0.5076 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2143, allocations: 82.31 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.4125/0.6269, allocations: 59.73 MB / 0.6463 GB, free: 17.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01505/0.642, allocations: 11.9 MB / 0.6579 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002951/0.645, allocations: 49.22 kB / 0.658 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.6469, allocations: 0.5523 MB / 0.6585 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005207/0.6522, allocations: 1.799 MB / 0.6603 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.6549, allocations: 1.074 MB / 0.6613 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004833/0.6597, allocations: 3.898 MB / 0.6651 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001704/0.6614, allocations: 0.9024 MB / 0.666 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002896/0.6644, allocations: 1.12 MB / 0.6671 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.6662, allocations: 0.8548 MB / 0.6679 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.6664, allocations: 40.53 kB / 0.668 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003503/0.6699, allocations: 1.354 MB / 0.6693 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003284/0.6703, allocations: 210.8 kB / 0.6695 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.6714, allocations: 0.6316 MB / 0.6701 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005551/0.677, allocations: 2.206 MB / 0.6723 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.677, allocations: 5.156 kB / 0.6723 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.677, allocations: 0 / 0.6723 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.565e-05/0.677, allocations: 0 / 0.6723 GB, free: 2.277 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.003983/0.681, allocations: 1.482 MB / 0.6737 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.6811, allocations: 10.09 kB / 0.6737 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/0.683, allocations: 385.1 kB / 0.6741 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002464/0.6855, allocations: 1.132 MB / 0.6752 GB, free: 468 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003904/0.6859, allocations: 128.2 kB / 0.6753 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.6861, allocations: 78.75 kB / 0.6754 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/0.6887, allocations: 0.9716 MB / 0.6763 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.6887, allocations: 1.344 kB / 0.6763 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.6e-05/0.6888, allocations: 31.53 kB / 0.6764 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/0.6889, allocations: 23.25 kB / 0.6764 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002793/0.6917, allocations: 0.8521 MB / 0.6772 GB, free: 15.64 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.008346/0.7001, allocations: 4.799 MB / 0.6819 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.7018, allocations: 0.5993 MB / 0.6825 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006923/0.7025, allocations: 284.1 kB / 0.6828 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/0.704, allocations: 1.39 MB / 0.6841 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.704, allocations: 41.44 kB / 0.6842 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 4.338e-06/0.704, allocations: 0 / 0.6842 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.009197/0.7132, allocations: 2.055 MB / 0.6862 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.7133, allocations: 57.73 kB / 0.6862 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.7153, allocations: 1.055 MB / 0.6873 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.7155, allocations: 40.67 kB / 0.6873 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004703/0.716, allocations: 0.5191 MB / 0.6878 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.7161, allocations: 152.8 kB / 0.688 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.088e-05/0.7162, allocations: 48.09 kB / 0.688 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.7164, allocations: 325.5 kB / 0.6883 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008556/0.7172, allocations: 285.7 kB / 0.6886 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.7182, allocations: 0.4998 MB / 0.6891 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.7198, allocations: 0.6596 MB / 0.6897 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.7198, allocations: 2.469 kB / 0.6897 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002751/0.7226, allocations: 0.9767 MB / 0.6907 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.7227, allocations: 205 kB / 0.6909 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.7227, allocations: 4.125 kB / 0.6909 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.7241, allocations: 336.5 kB / 0.6912 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.7246, allocations: 110.9 kB / 0.6913 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.7262, allocations: 0.9412 MB / 0.6922 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.7279, allocations: 178.3 kB / 0.6924 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.175e-05/0.728, allocations: 27.7 kB / 0.6924 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.728, allocations: 10.59 kB / 0.6924 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00242/0.7304, allocations: 0.8422 MB / 0.6932 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.7304, allocations: 7.812 kB / 0.6933 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.7316, allocations: 329.8 kB / 0.6936 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.7321, allocations: 119.2 kB / 0.6937 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.7336, allocations: 0.9304 MB / 0.6946 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.7351, allocations: 159.3 kB / 0.6947 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.998e-05/0.7352, allocations: 28.08 kB / 0.6948 GB, free: 4.984 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.0007376/0.7359, allocations: 357.3 kB / 0.6951 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.7361, allocations: 106.7 kB / 0.6952 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003978/0.7401, allocations: 1.159 MB / 0.6963 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.7401, allocations: 7.141 kB / 0.6963 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.7401, allocations: 0 / 0.6963 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.7402, allocations: 2.156 kB / 0.6964 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005542/0.7457, allocations: 2.162 MB / 0.6985 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.7457, allocations: 6.656 kB / 0.6985 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.746, allocations: 59.64 kB / 0.6985 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.7471, allocations: 325.9 kB / 0.6988 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.7472, allocations: 17.88 kB / 0.6989 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.7487, allocations: 0.9784 MB / 0.6998 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.7488, allocations: 3.312 kB / 0.6998 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003792/0.7526, allocations: 1.186 MB / 0.701 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008294/0.7534, allocations: 286.6 kB / 0.7012 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.7536, allocations: 12.53 kB / 0.7013 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008877/0.7544, allocations: 94.72 kB / 0.7013 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.242e-05/0.7545, allocations: 40.55 kB / 0.7014 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.876e-05/0.7546, allocations: 22.7 kB / 0.7014 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001355/0.756, allocations: 0.7461 MB / 0.7021 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.756, allocations: 0 / 0.7021 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002025/0.758, allocations: 0.5723 MB / 0.7027 GB, free: 1.305 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.00113/0.7592, allocations: 400.6 kB / 0.7031 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003464/0.7626, allocations: 1.053 MB / 0.7041 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.7627, allocations: 0 / 0.7041 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000912/0.7636, allocations: 336.7 kB / 0.7044 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003482/0.7671, allocations: 0.4972 MB / 0.7049 GB, free: 428 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.7711, allocations: 2.265 MB / 0.7071 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007578/0.7719, allocations: 1.061 MB / 0.7082 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00138/0.7733, allocations: 208.5 kB / 0.7084 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.7735, allocations: 79.27 kB / 0.7084 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of SimCode: time 1.443e-06/0.7735, allocations: 4 kB / 0.7084 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of Templates: time 0.04616/0.8197, allocations: 24.1 MB / 0.732 GB, free: 7.84 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)