Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.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.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007508/0.0007508, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008531/0.0008532, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7456/0.7456, allocations: 132.4 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002895, allocations: 8 kB / 0.5034 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3569, allocations: 81.58 MB / 0.5831 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1125/0.4694, allocations: 122.1 MB / 0.7024 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02801/0.4975, allocations: 21.76 MB / 0.7236 GB, free: 384 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003584/0.5011, allocations: 107.2 kB / 0.7237 GB, free: 276 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003255/0.5044, allocations: 1.001 MB / 0.7247 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008457/0.5128, allocations: 3.169 MB / 0.7278 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004211/0.5171, allocations: 1.512 MB / 0.7293 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008236/0.5253, allocations: 7.191 MB / 0.7363 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002871/0.5282, allocations: 1.672 MB / 0.7379 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004244/0.5325, allocations: 2.15 MB / 0.74 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002754/0.5352, allocations: 1.68 MB / 0.7416 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004672/0.5357, allocations: 95.98 kB / 0.7417 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003465/0.5392, allocations: 1.22 MB / 0.7429 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006051/0.5398, allocations: 417.9 kB / 0.7433 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008836/0.5407, allocations: 0.5511 MB / 0.7439 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003577/0.5443, allocations: 3.137 MB / 0.7469 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5443, allocations: 0 / 0.7469 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5443, allocations: 0 / 0.7469 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.914e-05/0.5444, allocations: 0 / 0.7469 GB, free: 8.391 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.004494/0.5488, allocations: 2.713 MB / 0.7496 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5489, allocations: 12.03 kB / 0.7496 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003915/0.5528, allocations: 0.9528 MB / 0.7505 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003825/0.5567, allocations: 2.211 MB / 0.7527 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008133/0.5575, allocations: 322.8 kB / 0.753 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/0.5577, allocations: 164 kB / 0.7531 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003696/0.5614, allocations: 1.962 MB / 0.7551 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.5614, allocations: 3.938 kB / 0.7551 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.5616, allocations: 64 kB / 0.7551 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.5616, allocations: 36 kB / 0.7552 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004358/0.566, allocations: 1.893 MB / 0.757 GB, free: 13.84 MB / 0.5919 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.01082/0.5768, allocations: 9.063 MB / 0.7659 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003828/0.5807, allocations: 1.307 MB / 0.7671 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.5817, allocations: 478.2 kB / 0.7676 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009892/0.5827, allocations: 1.722 MB / 0.7693 GB, free: 272 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.5827, allocations: 46.56 kB / 0.7693 GB, free: 216 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.415e-06/0.5827, allocations: 0 / 0.7693 GB, free: 216 kB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.007599/0.5904, allocations: 2.487 MB / 0.7717 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.5904, allocations: 85.11 kB / 0.7718 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003347/0.5938, allocations: 2.492 MB / 0.7743 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.984e-05/0.5939, allocations: 45.7 kB / 0.7743 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008374/0.5947, allocations: 1.053 MB / 0.7753 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.5949, allocations: 264.1 kB / 0.7756 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/0.595, allocations: 20 kB / 0.7756 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5951, allocations: 353.9 kB / 0.7759 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.5967, allocations: 0.6193 MB / 0.7765 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/0.5986, allocations: 1.013 MB / 0.7775 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.6002, allocations: 0.678 MB / 0.7782 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.6002, allocations: 4 kB / 0.7782 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004439/0.6047, allocations: 1.964 MB / 0.7801 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.6047, allocations: 8 kB / 0.7801 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.6047, allocations: 11.94 kB / 0.7801 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.6062, allocations: 444.5 kB / 0.7806 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.6074, allocations: 307.5 kB / 0.7809 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.6093, allocations: 1.542 MB / 0.7824 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/0.612, allocations: 474 kB / 0.7828 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.6122, allocations: 63.97 kB / 0.7829 GB, free: 1.992 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0008176/0.613, allocations: 465.4 kB / 0.7833 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003189/0.6133, allocations: 248.9 kB / 0.7836 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003432/0.6168, allocations: 1.548 MB / 0.7851 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.6168, allocations: 8 kB / 0.7851 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.6168, allocations: 0 / 0.7851 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.6168, allocations: 7.938 kB / 0.7851 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006776/0.6236, allocations: 3.69 MB / 0.7887 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.6236, allocations: 4.375 kB / 0.7887 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005983/0.6242, allocations: 139.8 kB / 0.7888 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.6256, allocations: 437.2 kB / 0.7892 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/0.6257, allocations: 23.98 kB / 0.7893 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.628, allocations: 1.634 MB / 0.7909 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.628, allocations: 4 kB / 0.7909 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005351/0.6334, allocations: 2.072 MB / 0.7929 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008867/0.6343, allocations: 0.5092 MB / 0.7934 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/0.6346, allocations: 20.09 kB / 0.7934 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.6362, allocations: 195.7 kB / 0.7936 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.48e-05/0.6363, allocations: 59.88 kB / 0.7936 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.084e-05/0.6364, allocations: 35.97 kB / 0.7937 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002708/0.6391, allocations: 1.753 MB / 0.7954 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6391, allocations: 7.938 kB / 0.7954 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001686/0.6408, allocations: 0.6788 MB / 0.7961 GB, free: 4.199 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008915/0.6417, allocations: 0.5686 MB / 0.7966 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003678/0.6454, allocations: 1.427 MB / 0.798 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.6454, allocations: 192 / 0.798 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002092/0.6475, allocations: 0.7263 MB / 0.7987 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005042/0.6525, allocations: 1.267 MB / 0.8 GB, free: 252 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005809/0.6584, allocations: 4.185 MB / 0.804 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009795/0.6594, allocations: 1.482 MB / 0.8055 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00176/0.6611, allocations: 438.5 kB / 0.8059 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/0.6615, allocations: 167.4 kB / 0.8061 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of SimCode: time 7.82e-07/0.6615, allocations: 0 / 0.8061 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of Templates: time 0.2988/0.9603, allocations: 46.7 MB / 0.8517 GB, free: 196.1 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)