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.005339/0.005343, allocations: 104.7 kB / 15.73 MB, free: 6.035 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.001298/0.001298, allocations: 199.2 kB / 16.67 MB, free: 5.969 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9307/0.9307, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 59.91 kB / 0.5856 GB, free: 3.34 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4426, allocations: 80.92 MB / 0.6647 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.06477/0.5074, allocations: 61.16 MB / 0.7244 GB, free: 4.281 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01813/0.5256, allocations: 11.99 MB / 0.7361 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002661/0.5283, allocations: 55.69 kB / 0.7361 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002513/0.5309, allocations: 0.7025 MB / 0.7368 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006257/0.5372, allocations: 2.057 MB / 0.7388 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.5403, allocations: 1.215 MB / 0.74 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004558/0.5449, allocations: 3.091 MB / 0.743 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/0.5468, allocations: 1.104 MB / 0.7441 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003271/0.5501, allocations: 1.371 MB / 0.7455 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.5518, allocations: 0.8906 MB / 0.7463 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003/0.5521, allocations: 112 kB / 0.7464 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003074/0.5552, allocations: 1.458 MB / 0.7479 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004186/0.5556, allocations: 302.8 kB / 0.7481 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.5567, allocations: 0.6958 MB / 0.7488 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00407/0.5607, allocations: 2.312 MB / 0.7511 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.5608, allocations: 4 kB / 0.7511 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5608, allocations: 0 / 0.7511 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.852e-05/0.5608, allocations: 0 / 0.7511 GB, free: 8.844 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003592/0.5644, allocations: 1.734 MB / 0.7528 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.5645, allocations: 8.031 kB / 0.7528 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.5661, allocations: 354.7 kB / 0.7531 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.5683, allocations: 1.155 MB / 0.7543 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.73e-05/0.5684, allocations: 58 kB / 0.7543 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.5686, allocations: 80 kB / 0.7544 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.5703, allocations: 0.9664 MB / 0.7553 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.5704, allocations: 8 kB / 0.7553 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.116e-05/0.5704, allocations: 32 kB / 0.7554 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.5705, allocations: 16 kB / 0.7554 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.5723, allocations: 0.8039 MB / 0.7562 GB, free: 3.457 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.006058/0.5784, allocations: 5.141 MB / 0.7612 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.5798, allocations: 0.5528 MB / 0.7617 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005599/0.5804, allocations: 272.6 kB / 0.762 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/0.5818, allocations: 1.365 MB / 0.7633 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.5818, allocations: 42.5 kB / 0.7634 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.5818, allocations: 0 / 0.7634 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.006157/0.588, allocations: 1.608 MB / 0.7649 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.588, allocations: 59.41 kB / 0.765 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.5896, allocations: 1.08 MB / 0.766 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/0.5897, allocations: 37.7 kB / 0.7661 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000448/0.5901, allocations: 0.5311 MB / 0.7666 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.5903, allocations: 149.8 kB / 0.7667 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.5905, allocations: 134.2 kB / 0.7669 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5906, allocations: 326 kB / 0.7672 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000699/0.5913, allocations: 279.3 kB / 0.7674 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008671/0.5922, allocations: 0.4969 MB / 0.7679 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.5935, allocations: 0.6598 MB / 0.7686 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5935, allocations: 0 / 0.7686 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002312/0.5959, allocations: 0.9461 MB / 0.7695 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.5959, allocations: 12.03 kB / 0.7695 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5959, allocations: 4 kB / 0.7695 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.5971, allocations: 304.6 kB / 0.7698 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.5976, allocations: 123.8 kB / 0.7699 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.5989, allocations: 0.9034 MB / 0.7708 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.6, allocations: 139.2 kB / 0.7709 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.101e-05/0.6001, allocations: 35.92 kB / 0.771 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001094/0.6012, allocations: 485.2 kB / 0.7714 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008738/0.602, allocations: 0.5009 MB / 0.7719 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001268/0.6033, allocations: 0.651 MB / 0.7726 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.569e-06/0.6033, allocations: 4 kB / 0.7726 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002255/0.6056, allocations: 0.9576 MB / 0.7735 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.6056, allocations: 8 kB / 0.7735 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.6056, allocations: 4 kB / 0.7735 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009648/0.6066, allocations: 296 kB / 0.7738 GB, free: 276 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.6071, allocations: 119.8 kB / 0.7739 GB, free: 156 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.6083, allocations: 0.8996 MB / 0.7748 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.6094, allocations: 131.5 kB / 0.7749 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.6094, allocations: 27.98 kB / 0.7749 GB, free: 15.07 MB / 0.6075 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.000207/0.6097, allocations: 216.1 kB / 0.7751 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.6098, allocations: 114.6 kB / 0.7753 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/0.6126, allocations: 0.9809 MB / 0.7762 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.6126, allocations: 7.984 kB / 0.7762 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6126, allocations: 0 / 0.7762 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.6126, allocations: 0 / 0.7762 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004421/0.617, allocations: 2.076 MB / 0.7782 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.6171, allocations: 3.938 kB / 0.7782 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.6173, allocations: 59.91 kB / 0.7783 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009029/0.6182, allocations: 299 kB / 0.7786 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.6182, allocations: 8 kB / 0.7786 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.6195, allocations: 0.9269 MB / 0.7795 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6195, allocations: 4 kB / 0.7795 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/0.6224, allocations: 1.086 MB / 0.7806 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/0.6228, allocations: 263.5 kB / 0.7808 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.623, allocations: 16 kB / 0.7808 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/0.6237, allocations: 63.86 kB / 0.7809 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.6238, allocations: 39.83 kB / 0.7809 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.181e-05/0.6238, allocations: 23.98 kB / 0.781 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001158/0.625, allocations: 0.7589 MB / 0.7817 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.625, allocations: 0 / 0.7817 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001488/0.6265, allocations: 0.5771 MB / 0.7823 GB, free: 7.355 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 (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.0007726/0.6273, allocations: 406.7 kB / 0.7826 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00257/0.6298, allocations: 1.023 MB / 0.7836 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.6299, allocations: 0 / 0.7836 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007496/0.6306, allocations: 326.5 kB / 0.784 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.6326, allocations: 0.504 MB / 0.7844 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.6359, allocations: 1.801 MB / 0.7862 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/0.6365, allocations: 1.061 MB / 0.7872 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00071/0.6372, allocations: 232.5 kB / 0.7875 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.6374, allocations: 71.42 kB / 0.7875 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.6374, allocations: 4 kB / 0.7875 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of Templates: time 0.04116/0.6786, allocations: 25.21 MB / 0.8122 GB, free: 8.945 MB / 0.6387 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)