Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001091/0.001091, allocations: 108 kB / 15.6 MB, free: 132 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.001483/0.001483, allocations: 199.8 kB / 16.53 MB, free: 6.391 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7397/0.7397, allocations: 132.2 MB / 422.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 60 kB / 0.5018 GB, free: 8.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1817, allocations: 80.2 MB / 0.5801 GB, free: 8.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.3795/0.5613, allocations: 61.19 MB / 0.6398 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01457/0.5759, allocations: 11.97 MB / 0.6515 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002697/0.5786, allocations: 59.97 kB / 0.6516 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.5806, allocations: 0.6757 MB / 0.6522 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005427/0.586, allocations: 1.969 MB / 0.6542 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002882/0.5889, allocations: 1.198 MB / 0.6553 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003908/0.5928, allocations: 3.073 MB / 0.6583 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.5943, allocations: 1.102 MB / 0.6594 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003302/0.5976, allocations: 1.328 MB / 0.6607 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.5993, allocations: 0.8998 MB / 0.6616 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002467/0.5995, allocations: 115.2 kB / 0.6617 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003759/0.6033, allocations: 1.461 MB / 0.6631 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003166/0.6036, allocations: 287.4 kB / 0.6634 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008983/0.6045, allocations: 0.689 MB / 0.6641 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004627/0.6092, allocations: 2.297 MB / 0.6663 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.6092, allocations: 0.5312 kB / 0.6663 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6092, allocations: 0 / 0.6663 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.146e-05/0.6092, allocations: 5 kB / 0.6663 GB, free: 7.387 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.003485/0.6127, allocations: 1.736 MB / 0.668 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.6128, allocations: 12.94 kB / 0.668 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.6145, allocations: 344.1 kB / 0.6684 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.6167, allocations: 1.091 MB / 0.6694 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003481/0.617, allocations: 118.9 kB / 0.6695 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.6172, allocations: 80.28 kB / 0.6696 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.6191, allocations: 0.9755 MB / 0.6706 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.6191, allocations: 1.031 kB / 0.6706 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.693e-05/0.6192, allocations: 32.06 kB / 0.6706 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.6192, allocations: 19.16 kB / 0.6706 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.6212, allocations: 0.8131 MB / 0.6714 GB, free: 4.578 MB / 0.4981 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.006269/0.6275, allocations: 5.178 MB / 0.6765 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.6291, allocations: 0.5683 MB / 0.677 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006044/0.6297, allocations: 267.1 kB / 0.6773 GB, free: 248 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.631, allocations: 1.372 MB / 0.6786 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.6311, allocations: 49.53 kB / 0.6787 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.394e-06/0.6311, allocations: 0 / 0.6787 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008776/0.6399, allocations: 1.817 MB / 0.6804 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/0.64, allocations: 56.91 kB / 0.6805 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002815/0.6428, allocations: 1.073 MB / 0.6815 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.643, allocations: 41.92 kB / 0.6816 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006865/0.6437, allocations: 0.5318 MB / 0.6821 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.644, allocations: 150.7 kB / 0.6822 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003657/0.6443, allocations: 134.3 kB / 0.6824 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002052/0.6445, allocations: 330.7 kB / 0.6827 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009634/0.6455, allocations: 282.9 kB / 0.683 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.6468, allocations: 0.4992 MB / 0.6834 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.6486, allocations: 0.6727 MB / 0.6841 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.6487, allocations: 1.062 kB / 0.6841 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003318/0.652, allocations: 0.9699 MB / 0.6851 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.652, allocations: 11.5 kB / 0.6851 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.6521, allocations: 5.188 kB / 0.6851 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/0.6537, allocations: 314 kB / 0.6854 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005471/0.6543, allocations: 119.3 kB / 0.6855 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.6562, allocations: 0.9128 MB / 0.6864 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.6582, allocations: 154.2 kB / 0.6865 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.6583, allocations: 30.12 kB / 0.6866 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001663/0.66, allocations: 495 kB / 0.687 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001315/0.6613, allocations: 0.4991 MB / 0.6875 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001947/0.6633, allocations: 0.6572 MB / 0.6882 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.401e-05/0.6633, allocations: 6.719 kB / 0.6882 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003705/0.667, allocations: 0.9608 MB / 0.6891 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.6671, allocations: 11.47 kB / 0.6891 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.6671, allocations: 6.422 kB / 0.6891 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/0.6687, allocations: 307.9 kB / 0.6894 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005987/0.6693, allocations: 118.9 kB / 0.6895 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.6713, allocations: 0.904 MB / 0.6904 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.6732, allocations: 134.3 kB / 0.6905 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.6734, allocations: 33.77 kB / 0.6906 GB, free: 8.57 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.000486/0.6739, allocations: 226.5 kB / 0.6908 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005711/0.6744, allocations: 112.4 kB / 0.6909 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005324/0.6798, allocations: 1.066 MB / 0.6919 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.383e-05/0.6798, allocations: 6.344 kB / 0.6919 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.6799, allocations: 0 / 0.6919 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.6799, allocations: 2.203 kB / 0.6919 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007705/0.6876, allocations: 2.076 MB / 0.694 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.6876, allocations: 2.438 kB / 0.694 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.6878, allocations: 58.05 kB / 0.694 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001134/0.689, allocations: 312.5 kB / 0.6943 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/0.6891, allocations: 14.06 kB / 0.6943 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.6907, allocations: 0.9529 MB / 0.6953 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.6907, allocations: 3.203 kB / 0.6953 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00379/0.6945, allocations: 1.1 MB / 0.6963 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007617/0.6953, allocations: 263.8 kB / 0.6966 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003852/0.6957, allocations: 12.44 kB / 0.6966 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.6968, allocations: 65.3 kB / 0.6967 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.697, allocations: 39.28 kB / 0.6967 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.6971, allocations: 23.11 kB / 0.6967 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002414/0.6995, allocations: 0.7497 MB / 0.6975 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.62e-07/0.6996, allocations: 4 kB / 0.6975 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003742/0.7033, allocations: 0.5816 MB / 0.698 GB, free: 5.012 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.001625/0.7049, allocations: 413.5 kB / 0.6984 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003616/0.7086, allocations: 1.051 MB / 0.6995 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.7086, allocations: 5.281 kB / 0.6995 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009032/0.7095, allocations: 328.9 kB / 0.6998 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/0.7122, allocations: 0.5077 MB / 0.7003 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/0.716, allocations: 1.822 MB / 0.702 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000758/0.7168, allocations: 1.064 MB / 0.7031 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001115/0.7179, allocations: 221 kB / 0.7033 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.7181, allocations: 78.64 kB / 0.7034 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of SimCode: time 2.214e-06/0.7181, allocations: 0 / 0.7034 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of Templates: time 0.04188/0.76, allocations: 25.17 MB / 0.7279 GB, free: 11.63 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)