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.001617/0.001617, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001665/0.001665, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.303/1.303, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7924/0.7924, allocations: 135.2 MB / 426.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.89 kB / 0.506 GB, free: 8.344 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3373, allocations: 80.91 MB / 0.5851 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1289/0.4663, allocations: 132.2 MB / 0.7142 GB, free: 5.988 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03575/0.5021, allocations: 23.2 MB / 0.7368 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005854/0.508, allocations: 123.2 kB / 0.7369 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0053/0.5134, allocations: 1.49 MB / 0.7384 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01264/0.5261, allocations: 4.084 MB / 0.7424 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006299/0.5324, allocations: 2.154 MB / 0.7445 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01005/0.5424, allocations: 6.527 MB / 0.7508 GB, free: 344 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3123/0.8547, allocations: 2.354 MB / 0.7531 GB, free: 45.28 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006301/0.8611, allocations: 2.749 MB / 0.7558 GB, free: 45.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00407/0.8652, allocations: 1.883 MB / 0.7577 GB, free: 45.15 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009064/0.8661, allocations: 248.2 kB / 0.7579 GB, free: 45.15 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005512/0.8716, allocations: 1.937 MB / 0.7598 GB, free: 45.15 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007092/0.8723, allocations: 0.5931 MB / 0.7604 GB, free: 45.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00206/0.8744, allocations: 1.461 MB / 0.7618 GB, free: 44.65 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005905/0.8803, allocations: 4.347 MB / 0.766 GB, free: 44.22 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.8803, allocations: 0 / 0.766 GB, free: 44.22 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8804, allocations: 3.844 kB / 0.766 GB, free: 44.22 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.409e-05/0.8804, allocations: 0 / 0.766 GB, free: 44.22 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.005394/0.8858, allocations: 3.183 MB / 0.7692 GB, free: 42.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.8859, allocations: 9.984 kB / 0.7692 GB, free: 42.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004408/0.8903, allocations: 0.84 MB / 0.77 GB, free: 42.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0043/0.8946, allocations: 2.205 MB / 0.7721 GB, free: 41.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008864/0.8955, allocations: 294.2 kB / 0.7724 GB, free: 41.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003054/0.8958, allocations: 165.7 kB / 0.7726 GB, free: 41.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003858/0.8997, allocations: 1.939 MB / 0.7745 GB, free: 41.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.8998, allocations: 5.531 kB / 0.7745 GB, free: 41.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.8999, allocations: 62.97 kB / 0.7745 GB, free: 41.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.8999, allocations: 43.45 kB / 0.7746 GB, free: 41.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004301/0.9043, allocations: 1.827 MB / 0.7764 GB, free: 41.68 MB / 0.5762 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.01161/0.9159, allocations: 9.078 MB / 0.7852 GB, free: 37.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003964/0.9199, allocations: 1.198 MB / 0.7864 GB, free: 37.22 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009918/0.9209, allocations: 453.8 kB / 0.7868 GB, free: 37.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009258/0.9218, allocations: 1.725 MB / 0.7885 GB, free: 35.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.9219, allocations: 50.78 kB / 0.7886 GB, free: 35.19 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 3.347e-06/0.9219, allocations: 0 / 0.7886 GB, free: 35.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.008135/0.93, allocations: 2.334 MB / 0.7908 GB, free: 34.76 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.9301, allocations: 85.8 kB / 0.7909 GB, free: 34.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003706/0.9338, allocations: 2.539 MB / 0.7934 GB, free: 34.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001653/0.934, allocations: 43.17 kB / 0.7934 GB, free: 34.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006682/0.9347, allocations: 1.049 MB / 0.7945 GB, free: 34.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.9349, allocations: 272.4 kB / 0.7947 GB, free: 33.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003691/0.9353, allocations: 254 kB / 0.795 GB, free: 33.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.733e-05/0.9353, allocations: 346 kB / 0.7953 GB, free: 33.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.937, allocations: 0.5844 MB / 0.7959 GB, free: 33.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/0.9389, allocations: 0.9687 MB / 0.7968 GB, free: 33.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002761/0.9417, allocations: 1.263 MB / 0.7981 GB, free: 32.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.9417, allocations: 3.625 kB / 0.7981 GB, free: 32.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006197/0.9479, allocations: 2.055 MB / 0.8001 GB, free: 32.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.948, allocations: 11.25 kB / 0.8001 GB, free: 32.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.948, allocations: 8.5 kB / 0.8001 GB, free: 32.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/0.9497, allocations: 0.4917 MB / 0.8006 GB, free: 32.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.9508, allocations: 289.6 kB / 0.8008 GB, free: 32.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.9526, allocations: 1.516 MB / 0.8023 GB, free: 31.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/0.9555, allocations: 393.7 kB / 0.8027 GB, free: 30.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.9557, allocations: 61.62 kB / 0.8028 GB, free: 30.95 MB / 0.5762 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.0008641/0.9565, allocations: 458 kB / 0.8032 GB, free: 30.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004725/0.957, allocations: 249.3 kB / 0.8034 GB, free: 30.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003186/0.9602, allocations: 1.499 MB / 0.8049 GB, free: 30.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.9602, allocations: 7.625 kB / 0.8049 GB, free: 30.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.9603, allocations: 0 / 0.8049 GB, free: 30.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.9603, allocations: 3.984 kB / 0.8049 GB, free: 30.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006452/0.9667, allocations: 3.629 MB / 0.8084 GB, free: 28.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.9668, allocations: 3.188 kB / 0.8084 GB, free: 28.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005445/0.9673, allocations: 132.2 kB / 0.8086 GB, free: 28.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00147/0.9688, allocations: 499.6 kB / 0.8091 GB, free: 28.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.87e-05/0.9689, allocations: 27.2 kB / 0.8091 GB, free: 28.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.971, allocations: 1.582 MB / 0.8106 GB, free: 27.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.971, allocations: 6.219 kB / 0.8106 GB, free: 27.42 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005524/0.9765, allocations: 1.939 MB / 0.8125 GB, free: 26.56 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.9776, allocations: 494.9 kB / 0.813 GB, free: 26.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000421/0.9781, allocations: 26.38 kB / 0.813 GB, free: 26.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/0.9798, allocations: 146.4 kB / 0.8132 GB, free: 26.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.9799, allocations: 58.89 kB / 0.8132 GB, free: 25.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.139e-05/0.98, allocations: 39.66 kB / 0.8133 GB, free: 25.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002536/0.9826, allocations: 1.789 MB / 0.815 GB, free: 24.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9826, allocations: 0 / 0.815 GB, free: 24.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001908/0.9845, allocations: 0.6867 MB / 0.8157 GB, free: 24.04 MB / 0.5762 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.001019/0.9855, allocations: 0.6182 MB / 0.8163 GB, free: 23.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003953/0.9895, allocations: 1.405 MB / 0.8176 GB, free: 22.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.9895, allocations: 0 / 0.8176 GB, free: 22.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.9916, allocations: 0.6762 MB / 0.8183 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005812/0.9974, allocations: 1.345 MB / 0.8196 GB, free: 20.83 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005286/1.003, allocations: 3.644 MB / 0.8232 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006467/1.003, allocations: 1.477 MB / 0.8246 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000554/1.004, allocations: 191.3 kB / 0.8248 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/1.004, allocations: 0 / 0.8248 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of Templates: time 0.07644/1.08, allocations: 62.53 MB / 0.8859 GB, free: 2.281 MB / 0.6231 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)