Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0007571/0.0007571, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004919/0.004919, allocations: 171.7 kB / 16.26 MB, free: 6.676 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: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8052/0.8052, allocations: 132.4 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003538, allocations: 8 kB / 0.504 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.504, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1294/0.6335, allocations: 129.3 MB / 0.71 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03665/0.6702, allocations: 23.05 MB / 0.7325 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006687/0.6769, allocations: 107.2 kB / 0.7326 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005365/0.6823, allocations: 1.204 MB / 0.7338 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01476/0.6971, allocations: 3.767 MB / 0.7374 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00644/0.7036, allocations: 1.964 MB / 0.7393 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01222/0.7158, allocations: 8.283 MB / 0.7474 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004464/0.7203, allocations: 1.924 MB / 0.7493 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00685/0.7272, allocations: 2.298 MB / 0.7516 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004106/0.7313, allocations: 1.788 MB / 0.7533 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00104/0.7324, allocations: 88 kB / 0.7534 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006204/0.7386, allocations: 1.719 MB / 0.7551 GB, free: 416 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001324/0.74, allocations: 445.7 kB / 0.7555 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003449/0.7435, allocations: 1.292 MB / 0.7568 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007732/0.7512, allocations: 4.143 MB / 0.7608 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7513, allocations: 0 / 0.7608 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7513, allocations: 0 / 0.7608 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.835e-05/0.7514, allocations: 0 / 0.7608 GB, free: 10.51 MB / 0.5919 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.005765/0.7571, allocations: 2.682 MB / 0.7634 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.7572, allocations: 8.031 kB / 0.7634 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004784/0.762, allocations: 0.9607 MB / 0.7644 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004777/0.7668, allocations: 2.264 MB / 0.7666 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001016/0.7678, allocations: 330.8 kB / 0.7669 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000305/0.7681, allocations: 160 kB / 0.767 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004408/0.7725, allocations: 1.985 MB / 0.769 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.7726, allocations: 0 / 0.769 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/0.7728, allocations: 67.94 kB / 0.769 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.7728, allocations: 39.94 kB / 0.7691 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005192/0.778, allocations: 1.913 MB / 0.771 GB, free: 15.88 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.01718/0.7952, allocations: 9.109 MB / 0.7799 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0048/0.8001, allocations: 1.305 MB / 0.7811 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.8013, allocations: 489.4 kB / 0.7816 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.8028, allocations: 1.715 MB / 0.7833 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.8029, allocations: 42.56 kB / 0.7833 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 3.537e-06/0.8029, allocations: 0 / 0.7833 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.009516/0.8124, allocations: 2.522 MB / 0.7858 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.8125, allocations: 85.11 kB / 0.7859 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004818/0.8173, allocations: 2.54 MB / 0.7883 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002787/0.8176, allocations: 45.7 kB / 0.7884 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009838/0.8186, allocations: 1.042 MB / 0.7894 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/0.819, allocations: 280.1 kB / 0.7897 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.8192, allocations: 85.67 kB / 0.7897 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.8193, allocations: 353.9 kB / 0.7901 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/0.8212, allocations: 0.6311 MB / 0.7907 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00219/0.8234, allocations: 1.005 MB / 0.7917 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003256/0.8267, allocations: 1.339 MB / 0.793 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.8267, allocations: 0 / 0.793 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007489/0.8342, allocations: 2.192 MB / 0.7951 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.8343, allocations: 8 kB / 0.7951 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.8343, allocations: 8 kB / 0.7951 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/0.8364, allocations: 0.5039 MB / 0.7956 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.8377, allocations: 311.5 kB / 0.7959 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.8402, allocations: 1.553 MB / 0.7974 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003581/0.8438, allocations: 477.9 kB / 0.7979 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/0.844, allocations: 63.97 kB / 0.798 GB, free: 2.742 MB / 0.6231 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.001112/0.8451, allocations: 457.5 kB / 0.7984 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005588/0.8457, allocations: 252.8 kB / 0.7986 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003833/0.8495, allocations: 1.546 MB / 0.8001 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/0.8496, allocations: 12 kB / 0.8002 GB, free: 492 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.8496, allocations: 0 / 0.8002 GB, free: 492 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.8496, allocations: 11.98 kB / 0.8002 GB, free: 480 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008833/0.8585, allocations: 3.705 MB / 0.8038 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.8585, allocations: 4.375 kB / 0.8038 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006189/0.8592, allocations: 135.8 kB / 0.8039 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/0.8612, allocations: 0.4971 MB / 0.8044 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.152e-05/0.8613, allocations: 35.98 kB / 0.8044 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/0.8642, allocations: 1.642 MB / 0.806 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/0.8643, allocations: 12 kB / 0.8061 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007082/0.8713, allocations: 2.08 MB / 0.8081 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/0.8733, allocations: 0.5054 MB / 0.8086 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008759/0.8742, allocations: 16 kB / 0.8086 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00259/0.8768, allocations: 199.7 kB / 0.8088 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.8769, allocations: 59.8 kB / 0.8088 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/0.8771, allocations: 43.97 kB / 0.8089 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004802/0.8819, allocations: 1.789 MB / 0.8106 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.91e-07/0.8819, allocations: 0 / 0.8106 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003483/0.8854, allocations: 0.6828 MB / 0.8113 GB, free: 4.809 MB / 0.6387 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.001677/0.8871, allocations: 0.6053 MB / 0.8119 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005027/0.8922, allocations: 1.44 MB / 0.8133 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.8922, allocations: 0 / 0.8133 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002648/0.8948, allocations: 0.7327 MB / 0.814 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009898/0.9048, allocations: 1.32 MB / 0.8153 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.352/1.257, allocations: 4.355 MB / 0.8196 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001453/1.258, allocations: 1.493 MB / 0.821 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002564/1.261, allocations: 432.8 kB / 0.8214 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005582/1.261, allocations: 183.4 kB / 0.8216 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of SimCode: time 1.372e-06/1.261, allocations: 1.375 kB / 0.8216 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of Templates: time 0.08446/1.346, allocations: 51.03 MB / 0.8714 GB, free: 177.2 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)