Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001653, allocations: 109 kB / 16.41 MB, free: 6.496 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.001727/0.001727, allocations: 183 kB / 17.34 MB, free: 5.766 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8124/0.8124, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001954, allocations: 61.95 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2491, allocations: 80.92 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.6548/0.9039, allocations: 132.2 MB / 0.7944 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.05002/0.954, allocations: 23.21 MB / 0.8171 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009585/0.9636, allocations: 125.3 kB / 0.8172 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008746/0.9725, allocations: 1.487 MB / 0.8186 GB, free: 296 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.02404/0.9966, allocations: 4.094 MB / 0.8226 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01078/1.007, allocations: 2.166 MB / 0.8247 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01521/1.023, allocations: 6.535 MB / 0.8311 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005996/1.029, allocations: 2.363 MB / 0.8334 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01143/1.04, allocations: 2.805 MB / 0.8362 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005893/1.046, allocations: 1.889 MB / 0.838 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00101/1.047, allocations: 257.2 kB / 0.8383 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008915/1.056, allocations: 1.938 MB / 0.8401 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001497/1.058, allocations: 0.5993 MB / 0.8407 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003528/1.061, allocations: 1.458 MB / 0.8422 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01243/1.074, allocations: 4.384 MB / 0.8464 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.074, allocations: 0 / 0.8464 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.464e-06/1.074, allocations: 0 / 0.8464 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001097/1.074, allocations: 0 / 0.8464 GB, free: 11.36 MB / 0.6075 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.008352/1.082, allocations: 3.188 MB / 0.8496 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/1.082, allocations: 13.11 kB / 0.8496 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004669/1.087, allocations: 0.8434 MB / 0.8504 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004759/1.092, allocations: 2.315 MB / 0.8526 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/1.092, allocations: 123 kB / 0.8528 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002626/1.092, allocations: 164 kB / 0.8529 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004394/1.097, allocations: 1.919 MB / 0.8548 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/1.097, allocations: 3.938 kB / 0.8548 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/1.097, allocations: 68 kB / 0.8549 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/1.097, allocations: 43.94 kB / 0.8549 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004639/1.101, allocations: 1.799 MB / 0.8567 GB, free: 0.6602 MB / 0.6075 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.01395/1.115, allocations: 8.998 MB / 0.8655 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00444/1.12, allocations: 1.206 MB / 0.8666 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/1.121, allocations: 461.4 kB / 0.8671 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/1.122, allocations: 1.73 MB / 0.8688 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/1.122, allocations: 38.56 kB / 0.8688 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.916e-06/1.122, allocations: 0 / 0.8688 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.008901/1.131, allocations: 2.343 MB / 0.8711 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/1.131, allocations: 85.11 kB / 0.8712 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004274/1.136, allocations: 2.524 MB / 0.8736 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002002/1.136, allocations: 45.7 kB / 0.8737 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000875/1.137, allocations: 1.041 MB / 0.8747 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/1.137, allocations: 272.1 kB / 0.875 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004084/1.138, allocations: 250.6 kB / 0.8752 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.138, allocations: 345.9 kB / 0.8755 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/1.139, allocations: 0.5686 MB / 0.8761 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/1.142, allocations: 0.9504 MB / 0.877 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003026/1.145, allocations: 1.252 MB / 0.8782 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/1.145, allocations: 7.938 kB / 0.8782 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006649/1.151, allocations: 2.02 MB / 0.8802 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/1.151, allocations: 12 kB / 0.8802 GB, free: 7.125 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/1.151, allocations: 4.625 kB / 0.8802 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001844/1.153, allocations: 497.1 kB / 0.8807 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/1.155, allocations: 287.5 kB / 0.881 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/1.157, allocations: 1.517 MB / 0.8825 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002969/1.16, allocations: 366 kB / 0.8828 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/1.16, allocations: 59.97 kB / 0.8829 GB, free: 4.363 MB / 0.6387 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0009512/1.161, allocations: 459.2 kB / 0.8833 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005356/1.161, allocations: 248.8 kB / 0.8835 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003608/1.165, allocations: 1.506 MB / 0.885 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/1.165, allocations: 12 kB / 0.885 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.165, allocations: 0 / 0.885 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/1.165, allocations: 7.984 kB / 0.885 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007767/1.173, allocations: 3.626 MB / 0.8886 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/1.173, allocations: 8.312 kB / 0.8886 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000594/1.174, allocations: 131.8 kB / 0.8887 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001962/1.176, allocations: 489.1 kB / 0.8892 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/1.176, allocations: 27.97 kB / 0.8892 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003123/1.179, allocations: 1.587 MB / 0.8907 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.179, allocations: 11.92 kB / 0.8908 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006879/1.186, allocations: 1.928 MB / 0.8926 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/1.187, allocations: 485.6 kB / 0.8931 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000356/1.188, allocations: 27.84 kB / 0.8931 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/1.189, allocations: 139.8 kB / 0.8933 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.189, allocations: 59.73 kB / 0.8933 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.909e-05/1.189, allocations: 51.89 kB / 0.8934 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003296/1.193, allocations: 1.769 MB / 0.8951 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/1.193, allocations: 96 / 0.8951 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002153/1.195, allocations: 0.6905 MB / 0.8958 GB, free: 6.852 MB / 0.6544 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001272/1.196, allocations: 0.5998 MB / 0.8964 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004321/1.201, allocations: 1.346 MB / 0.8977 GB, free: 4.914 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/1.201, allocations: 0 / 0.8977 GB, free: 4.914 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002435/1.203, allocations: 0.6824 MB / 0.8983 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006524/1.21, allocations: 1.332 MB / 0.8996 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007063/1.217, allocations: 3.588 MB / 0.9031 GB, free: 15.25 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/1.218, allocations: 1.482 MB / 0.9046 GB, free: 13.73 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007091/1.219, allocations: 183.4 kB / 0.9048 GB, free: 13.55 MB / 0.67 GB Notification: Performance of SimCode: time 1.152e-06/1.219, allocations: 7.938 kB / 0.9048 GB, free: 13.54 MB / 0.67 GB Notification: Performance of Templates: time 0.08167/1.3, allocations: 62.75 MB / 0.966 GB, free: 15.03 MB / 0.7325 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)