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.001742/0.001743, allocations: 107.4 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.002047/0.002047, allocations: 193.6 kB / 17.34 MB, free: 5.75 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.461/1.461, 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.8891/0.8891, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 59.03 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2485, allocations: 80.93 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.7502/0.9988, allocations: 132.2 MB / 0.7944 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03405/1.033, allocations: 23.2 MB / 0.817 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007745/1.041, allocations: 125.9 kB / 0.8172 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005494/1.046, allocations: 1.496 MB / 0.8186 GB, free: 280 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01469/1.061, allocations: 4.082 MB / 0.8226 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007393/1.068, allocations: 2.176 MB / 0.8247 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01262/1.081, allocations: 6.533 MB / 0.8311 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005503/1.087, allocations: 2.373 MB / 0.8334 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008982/1.096, allocations: 2.797 MB / 0.8362 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005152/1.101, allocations: 1.889 MB / 0.838 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001281/1.102, allocations: 248.5 kB / 0.8382 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007501/1.11, allocations: 1.935 MB / 0.8401 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001658/1.111, allocations: 0.6069 MB / 0.8407 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004725/1.116, allocations: 1.458 MB / 0.8421 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01152/1.128, allocations: 4.392 MB / 0.8464 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.128, allocations: 0 / 0.8464 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.494e-06/1.128, allocations: 0 / 0.8464 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001705/1.128, allocations: 0 / 0.8464 GB, free: 11.37 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.009732/1.137, allocations: 3.184 MB / 0.8495 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/1.138, allocations: 21.05 kB / 0.8496 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005114/1.143, allocations: 0.8395 MB / 0.8504 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006608/1.149, allocations: 2.311 MB / 0.8526 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/1.15, allocations: 123 kB / 0.8528 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005856/1.15, allocations: 164 kB / 0.8529 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005887/1.156, allocations: 1.926 MB / 0.8548 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/1.156, allocations: 0 / 0.8548 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002949/1.156, allocations: 71.98 kB / 0.8549 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.769e-05/1.157, allocations: 39.94 kB / 0.8549 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005672/1.162, allocations: 1.796 MB / 0.8567 GB, free: 0.6719 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.01931/1.182, allocations: 8.994 MB / 0.8654 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004776/1.186, allocations: 1.215 MB / 0.8666 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/1.188, allocations: 461.3 kB / 0.8671 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001768/1.189, allocations: 1.73 MB / 0.8688 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.922e-05/1.19, allocations: 38.56 kB / 0.8688 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 3.636e-06/1.19, allocations: 0 / 0.8688 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.009558/1.199, allocations: 2.335 MB / 0.8711 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/1.199, allocations: 85.11 kB / 0.8712 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006139/1.205, allocations: 2.528 MB / 0.8736 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002532/1.206, allocations: 45.7 kB / 0.8737 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001301/1.207, allocations: 1.041 MB / 0.8747 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004558/1.207, allocations: 276.1 kB / 0.875 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006701/1.208, allocations: 258.6 kB / 0.8752 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.208, allocations: 341.9 kB / 0.8755 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/1.21, allocations: 0.5725 MB / 0.8761 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/1.212, allocations: 0.9504 MB / 0.877 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003512/1.216, allocations: 1.244 MB / 0.8782 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/1.216, allocations: 7.938 kB / 0.8782 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00743/1.223, allocations: 2.02 MB / 0.8802 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/1.224, allocations: 8.625 kB / 0.8802 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/1.224, allocations: 8 kB / 0.8802 GB, free: 7.133 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/1.226, allocations: 0.4893 MB / 0.8807 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/1.227, allocations: 287.6 kB / 0.881 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/1.229, allocations: 1.514 MB / 0.8825 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003254/1.233, allocations: 370 kB / 0.8828 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002527/1.233, allocations: 59.95 kB / 0.8829 GB, free: 4.367 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.001179/1.234, allocations: 457.9 kB / 0.8833 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009071/1.235, allocations: 252.8 kB / 0.8835 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004377/1.239, allocations: 1.497 MB / 0.885 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-05/1.239, allocations: 15.98 kB / 0.885 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/1.239, allocations: 4 kB / 0.885 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/1.239, allocations: 3.984 kB / 0.885 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/1.25, allocations: 3.623 MB / 0.8886 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/1.25, allocations: 7.938 kB / 0.8886 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006174/1.251, allocations: 127.8 kB / 0.8887 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/1.253, allocations: 487.4 kB / 0.8892 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-05/1.253, allocations: 27.98 kB / 0.8892 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/1.255, allocations: 1.592 MB / 0.8907 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/1.255, allocations: 4 kB / 0.8907 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00662/1.262, allocations: 1.935 MB / 0.8926 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/1.264, allocations: 493.6 kB / 0.8931 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007992/1.265, allocations: 23.84 kB / 0.8931 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002243/1.267, allocations: 135.8 kB / 0.8933 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/1.267, allocations: 59.78 kB / 0.8933 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/1.267, allocations: 47.91 kB / 0.8934 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004242/1.271, allocations: 1.777 MB / 0.8951 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.11e-07/1.271, allocations: 0 / 0.8951 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002891/1.274, allocations: 0.6828 MB / 0.8958 GB, free: 6.863 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.001619/1.276, allocations: 0.607 MB / 0.8964 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004785/1.281, allocations: 1.35 MB / 0.8977 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/1.281, allocations: 0 / 0.8977 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002607/1.283, allocations: 0.6746 MB / 0.8983 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00809/1.291, allocations: 1.331 MB / 0.8996 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008968/1.3, allocations: 3.586 MB / 0.9031 GB, free: 15.26 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/1.302, allocations: 1.486 MB / 0.9046 GB, free: 13.74 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009329/1.303, allocations: 183.4 kB / 0.9048 GB, free: 13.56 MB / 0.67 GB Notification: Performance of SimCode: time 2.805e-06/1.303, allocations: 0 / 0.9048 GB, free: 13.56 MB / 0.67 GB Notification: Performance of Templates: time 0.09131/1.395, allocations: 63.08 MB / 0.9664 GB, free: 14.71 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)