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.006526/0.006526, allocations: 101.5 kB / 15.73 MB, free: 5.988 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.001268/0.001268, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.022/1.022, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 0.5856 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4511, allocations: 80.91 MB / 0.6646 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.13/0.5812, allocations: 132.2 MB / 0.7937 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03424/0.6155, allocations: 23.19 MB / 0.8164 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006248/0.6218, allocations: 127.2 kB / 0.8165 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004937/0.6267, allocations: 1.541 MB / 0.818 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01172/0.6385, allocations: 4.31 MB / 0.8222 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005697/0.6442, allocations: 2.168 MB / 0.8243 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00915/0.6534, allocations: 6.559 MB / 0.8307 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003388/0.6568, allocations: 2.374 MB / 0.8331 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006771/0.6636, allocations: 2.82 MB / 0.8358 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003492/0.6671, allocations: 1.887 MB / 0.8377 GB, free: 15.93 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005431/0.6677, allocations: 248 kB / 0.8379 GB, free: 15.69 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004827/0.6725, allocations: 1.938 MB / 0.8398 GB, free: 13.75 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006781/0.6732, allocations: 0.5992 MB / 0.8404 GB, free: 13.15 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002022/0.6752, allocations: 1.462 MB / 0.8418 GB, free: 11.68 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006656/0.6819, allocations: 4.384 MB / 0.8461 GB, free: 7.285 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6819, allocations: 0 / 0.8461 GB, free: 7.285 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.794e-06/0.682, allocations: 0 / 0.8461 GB, free: 7.285 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.953e-05/0.682, allocations: 0 / 0.8461 GB, free: 7.285 MB / 0.67 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.005957/0.688, allocations: 3.188 MB / 0.8492 GB, free: 4.012 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.688, allocations: 8.031 kB / 0.8492 GB, free: 4.004 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004263/0.6923, allocations: 0.8434 MB / 0.85 GB, free: 3.156 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004366/0.6967, allocations: 2.319 MB / 0.8523 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.6968, allocations: 131 kB / 0.8524 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.6971, allocations: 156 kB / 0.8526 GB, free: 492 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004084/0.7012, allocations: 1.919 MB / 0.8544 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.7012, allocations: 3.938 kB / 0.8544 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/0.7014, allocations: 71.92 kB / 0.8545 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/0.7014, allocations: 39.98 kB / 0.8545 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004509/0.7059, allocations: 1.799 MB / 0.8563 GB, free: 12.58 MB / 0.6856 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.01286/0.7188, allocations: 8.996 MB / 0.8651 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004742/0.7236, allocations: 1.202 MB / 0.8663 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001755/0.7253, allocations: 457.4 kB / 0.8667 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4323/1.158, allocations: 1.726 MB / 0.8684 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/1.158, allocations: 38.94 kB / 0.8684 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 3.958e-06/1.158, allocations: 0 / 0.8684 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.009813/1.168, allocations: 2.339 MB / 0.8707 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/1.168, allocations: 90.22 kB / 0.8708 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004992/1.173, allocations: 2.52 MB / 0.8732 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000187/1.173, allocations: 48.3 kB / 0.8733 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008577/1.174, allocations: 1.043 MB / 0.8743 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000268/1.174, allocations: 279.5 kB / 0.8746 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005054/1.175, allocations: 251.7 kB / 0.8748 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.175, allocations: 350 kB / 0.8752 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/1.177, allocations: 0.5731 MB / 0.8757 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/1.179, allocations: 0.956 MB / 0.8766 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/1.182, allocations: 1.242 MB / 0.8779 GB, free: 182.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/1.182, allocations: 6.125 kB / 0.8779 GB, free: 182.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007479/1.19, allocations: 2.019 MB / 0.8798 GB, free: 182 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.164e-05/1.19, allocations: 11.91 kB / 0.8798 GB, free: 182 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-05/1.19, allocations: 7.688 kB / 0.8799 GB, free: 182 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002157/1.192, allocations: 490.6 kB / 0.8803 GB, free: 182 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/1.193, allocations: 284 kB / 0.8806 GB, free: 182 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/1.195, allocations: 1.514 MB / 0.8821 GB, free: 180.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003136/1.199, allocations: 369 kB / 0.8824 GB, free: 180.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002804/1.199, allocations: 61.05 kB / 0.8825 GB, free: 180.6 MB / 0.6856 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.001312/1.2, allocations: 463.4 kB / 0.8829 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009678/1.201, allocations: 251.3 kB / 0.8832 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004346/1.205, allocations: 1.499 MB / 0.8846 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.183e-05/1.206, allocations: 9 kB / 0.8846 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/1.206, allocations: 4.875 kB / 0.8846 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/1.206, allocations: 8.922 kB / 0.8846 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009116/1.215, allocations: 3.619 MB / 0.8882 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/1.215, allocations: 3.125 kB / 0.8882 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000616/1.215, allocations: 130.1 kB / 0.8883 GB, free: 177 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/1.217, allocations: 492.4 kB / 0.8888 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-05/1.217, allocations: 25.52 kB / 0.8888 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002502/1.22, allocations: 1.581 MB / 0.8903 GB, free: 175.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/1.22, allocations: 12.55 kB / 0.8904 GB, free: 175.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006456/1.226, allocations: 1.937 MB / 0.8922 GB, free: 174.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.227, allocations: 493.5 kB / 0.8927 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006895/1.228, allocations: 27.48 kB / 0.8927 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002276/1.23, allocations: 134.2 kB / 0.8929 GB, free: 173.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.231, allocations: 62.64 kB / 0.8929 GB, free: 173.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/1.231, allocations: 42.06 kB / 0.893 GB, free: 173.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003806/1.234, allocations: 1.77 MB / 0.8947 GB, free: 172.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.1e-07/1.234, allocations: 1.188 kB / 0.8947 GB, free: 172.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002764/1.237, allocations: 0.6875 MB / 0.8954 GB, free: 172.7 MB / 0.6856 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.001628/1.239, allocations: 0.6127 MB / 0.896 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004408/1.243, allocations: 1.34 MB / 0.8973 GB, free: 171.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/1.243, allocations: 0 / 0.8973 GB, free: 171.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002421/1.246, allocations: 0.6818 MB / 0.8979 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007427/1.253, allocations: 1.325 MB / 0.8992 GB, free: 170.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00816/1.261, allocations: 3.561 MB / 0.9027 GB, free: 168.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/1.263, allocations: 1.491 MB / 0.9042 GB, free: 167.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002504/1.265, allocations: 424.2 kB / 0.9046 GB, free: 167.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006597/1.266, allocations: 173.3 kB / 0.9047 GB, free: 167.5 MB / 0.6856 GB Notification: Performance of SimCode: time 8.81e-07/1.266, allocations: 0 / 0.9047 GB, free: 167.5 MB / 0.6856 GB Notification: Performance of Templates: time 0.06638/1.332, allocations: 48.81 MB / 0.9524 GB, free: 123.1 MB / 0.6856 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)