Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_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.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.01224/0.01224, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.514/1.514, 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.9766/0.9766, allocations: 135.3 MB / 426.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 8.594 kB / 0.5076 GB, free: 4.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2273, allocations: 82.31 MB / 0.588 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.4404/0.6678, allocations: 59.7 MB / 0.6463 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01512/0.6829, allocations: 11.9 MB / 0.6579 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002472/0.6855, allocations: 52.59 kB / 0.6579 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.6874, allocations: 0.547 MB / 0.6585 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00542/0.6928, allocations: 1.802 MB / 0.6602 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.6958, allocations: 1.077 MB / 0.6613 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005151/0.701, allocations: 3.894 MB / 0.6651 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/0.7026, allocations: 0.9026 MB / 0.666 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002816/0.7055, allocations: 1.121 MB / 0.6671 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.7072, allocations: 0.8572 MB / 0.6679 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.7073, allocations: 45.81 kB / 0.6679 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003284/0.7106, allocations: 1.346 MB / 0.6693 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002852/0.7109, allocations: 212.6 kB / 0.6695 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008786/0.7118, allocations: 0.6281 MB / 0.6701 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005228/0.717, allocations: 2.207 MB / 0.6722 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.7171, allocations: 0 / 0.6722 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.915e-06/0.7171, allocations: 0 / 0.6722 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.553e-05/0.7171, allocations: 0 / 0.6722 GB, free: 2.391 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.003918/0.7211, allocations: 1.491 MB / 0.6737 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.7211, allocations: 13.31 kB / 0.6737 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.723, allocations: 388.7 kB / 0.6741 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.7258, allocations: 1.125 MB / 0.6752 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003777/0.7262, allocations: 132.1 kB / 0.6753 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.7263, allocations: 78.91 kB / 0.6754 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.7286, allocations: 0.9669 MB / 0.6763 GB, free: 56 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.7286, allocations: 5.219 kB / 0.6763 GB, free: 52 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.941e-05/0.7287, allocations: 31.84 kB / 0.6763 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/0.7288, allocations: 19.03 kB / 0.6764 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/0.7317, allocations: 0.8409 MB / 0.6772 GB, free: 15.75 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.008697/0.7404, allocations: 4.807 MB / 0.6819 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.7421, allocations: 0.6036 MB / 0.6825 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006788/0.7428, allocations: 282.2 kB / 0.6827 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001557/0.7444, allocations: 1.398 MB / 0.6841 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.7444, allocations: 42 kB / 0.6841 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.635e-06/0.7444, allocations: 0 / 0.6841 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008085/0.7525, allocations: 1.851 MB / 0.686 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.7526, allocations: 55.5 kB / 0.686 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002528/0.7551, allocations: 1.059 MB / 0.687 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.7553, allocations: 37.52 kB / 0.6871 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007042/0.756, allocations: 0.5182 MB / 0.6876 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.7562, allocations: 154.8 kB / 0.6877 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.7563, allocations: 46.11 kB / 0.6878 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.7565, allocations: 330.9 kB / 0.6881 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000921/0.7574, allocations: 285.7 kB / 0.6884 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.7587, allocations: 498 kB / 0.6888 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.7604, allocations: 0.6675 MB / 0.6895 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.7604, allocations: 1.375 kB / 0.6895 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003017/0.7635, allocations: 0.9736 MB / 0.6904 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000179/0.7637, allocations: 210.4 kB / 0.6906 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.7637, allocations: 4.094 kB / 0.6906 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/0.7652, allocations: 332.7 kB / 0.691 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.7657, allocations: 119.2 kB / 0.6911 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.7675, allocations: 0.9402 MB / 0.692 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.7693, allocations: 181.6 kB / 0.6922 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.735e-05/0.7693, allocations: 27.92 kB / 0.6922 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.7694, allocations: 8.062 kB / 0.6922 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002549/0.7719, allocations: 0.8467 MB / 0.693 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.772, allocations: 4.031 kB / 0.693 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.7732, allocations: 328.9 kB / 0.6933 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/0.7737, allocations: 110.9 kB / 0.6935 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.7753, allocations: 0.9427 MB / 0.6944 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.7768, allocations: 152.4 kB / 0.6945 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.556e-05/0.7768, allocations: 31.59 kB / 0.6945 GB, free: 5.094 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.0008092/0.7777, allocations: 348.8 kB / 0.6949 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.7779, allocations: 111.8 kB / 0.695 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003344/0.7812, allocations: 1.082 MB / 0.696 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.7812, allocations: 5.75 kB / 0.6961 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.7813, allocations: 4.703 kB / 0.6961 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.7813, allocations: 3.312 kB / 0.6961 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006161/0.7874, allocations: 2.172 MB / 0.6982 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.7875, allocations: 2.094 kB / 0.6982 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.7877, allocations: 59.53 kB / 0.6982 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001257/0.789, allocations: 320.7 kB / 0.6985 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.945e-05/0.7891, allocations: 21.48 kB / 0.6986 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/0.7908, allocations: 0.9578 MB / 0.6995 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.7908, allocations: 6.531 kB / 0.6995 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003747/0.7946, allocations: 1.196 MB / 0.7007 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007534/0.7954, allocations: 279.5 kB / 0.7009 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/0.7957, allocations: 16.45 kB / 0.701 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.7968, allocations: 99.05 kB / 0.7011 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.7969, allocations: 45 kB / 0.7011 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-05/0.797, allocations: 21.94 kB / 0.7011 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001797/0.7988, allocations: 0.7467 MB / 0.7018 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7988, allocations: 0 / 0.7018 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003013/0.8019, allocations: 0.5653 MB / 0.7024 GB, free: 1.426 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001543/0.8034, allocations: 401.6 kB / 0.7028 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003487/0.8069, allocations: 1.057 MB / 0.7038 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.8069, allocations: 0 / 0.7038 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009352/0.8079, allocations: 330.7 kB / 0.7041 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00375/0.8116, allocations: 0.5 MB / 0.7046 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005184/0.8168, allocations: 2.269 MB / 0.7068 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009681/0.8178, allocations: 1.064 MB / 0.7079 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001327/0.8192, allocations: 210.8 kB / 0.7081 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.8194, allocations: 80.39 kB / 0.7081 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of SimCode: time 9.61e-07/0.8194, allocations: 4 kB / 0.7082 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of Templates: time 0.05147/0.8709, allocations: 24.03 MB / 0.7316 GB, free: 8.246 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)