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.00906/0.00906, allocations: 101.1 kB / 15.88 MB, free: 5.871 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.00185/0.00185, allocations: 193.5 kB / 16.79 MB, free: 5.816 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.439/1.439, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9688/0.9688, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 64.89 kB / 0.5053 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1726, allocations: 80.92 MB / 0.5843 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4433/0.6159, allocations: 131.3 MB / 0.7126 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03591/0.6518, allocations: 23.28 MB / 0.7353 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00637/0.6582, allocations: 119 kB / 0.7354 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005204/0.6635, allocations: 1.212 MB / 0.7366 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01335/0.6769, allocations: 3.761 MB / 0.7403 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006572/0.6835, allocations: 1.962 MB / 0.7422 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01155/0.6951, allocations: 8.29 MB / 0.7503 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003855/0.699, allocations: 1.978 MB / 0.7522 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006493/0.7055, allocations: 2.364 MB / 0.7545 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004225/0.7098, allocations: 1.866 MB / 0.7564 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007455/0.7105, allocations: 120 kB / 0.7565 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005766/0.7163, allocations: 1.738 MB / 0.7582 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009591/0.7173, allocations: 0.4899 MB / 0.7587 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003251/0.7206, allocations: 1.329 MB / 0.7599 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005968/0.7266, allocations: 3.333 MB / 0.7632 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.7266, allocations: 0 / 0.7632 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7266, allocations: 0 / 0.7632 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.804e-05/0.7267, allocations: 0 / 0.7632 GB, free: 6.383 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.006753/0.7335, allocations: 3.192 MB / 0.7663 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.7335, allocations: 8.031 kB / 0.7663 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/0.7381, allocations: 0.84 MB / 0.7671 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004775/0.7429, allocations: 2.26 MB / 0.7694 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000923/0.7438, allocations: 290.9 kB / 0.7696 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003355/0.7442, allocations: 160 kB / 0.7698 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004295/0.7485, allocations: 1.942 MB / 0.7717 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.7485, allocations: 0 / 0.7717 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.7487, allocations: 60 kB / 0.7717 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.736e-05/0.7487, allocations: 47.92 kB / 0.7718 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004751/0.7535, allocations: 1.827 MB / 0.7736 GB, free: 11.54 MB / 0.5919 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.01371/0.7672, allocations: 9.026 MB / 0.7824 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004259/0.7715, allocations: 1.2 MB / 0.7836 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.7726, allocations: 461.4 kB / 0.784 GB, free: 244 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/0.7739, allocations: 1.722 MB / 0.7857 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.774, allocations: 46.25 kB / 0.7857 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 3.035e-06/0.774, allocations: 0 / 0.7857 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.008644/0.7826, allocations: 2.335 MB / 0.788 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.7827, allocations: 85.11 kB / 0.7881 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004197/0.7869, allocations: 2.516 MB / 0.7905 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001794/0.7871, allocations: 45.7 kB / 0.7906 GB, free: 9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009467/0.7881, allocations: 1.049 MB / 0.7916 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.7884, allocations: 284 kB / 0.7919 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00045/0.7889, allocations: 250.6 kB / 0.7921 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.789, allocations: 349.9 kB / 0.7925 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.7907, allocations: 0.5881 MB / 0.793 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/0.7929, allocations: 0.9621 MB / 0.794 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002983/0.7959, allocations: 1.261 MB / 0.7952 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.7959, allocations: 0 / 0.7952 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006568/0.8025, allocations: 2.052 MB / 0.7972 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.8025, allocations: 11.94 kB / 0.7972 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.8025, allocations: 8 kB / 0.7972 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/0.8044, allocations: 0.4935 MB / 0.7977 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.8057, allocations: 283.6 kB / 0.798 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/0.8081, allocations: 1.517 MB / 0.7995 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003545/0.8116, allocations: 437.8 kB / 0.7999 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/0.8119, allocations: 59.97 kB / 0.7999 GB, free: 15.07 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.001202/0.8131, allocations: 454.9 kB / 0.8004 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006281/0.8137, allocations: 256.8 kB / 0.8006 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003672/0.8174, allocations: 1.502 MB / 0.8021 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.8174, allocations: 8 kB / 0.8021 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.8174, allocations: 0 / 0.8021 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.8175, allocations: 11.98 kB / 0.8021 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007737/0.8252, allocations: 3.61 MB / 0.8056 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.8253, allocations: 8.031 kB / 0.8056 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/0.8259, allocations: 127.7 kB / 0.8057 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001704/0.8276, allocations: 499.5 kB / 0.8062 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.996e-05/0.8277, allocations: 31.98 kB / 0.8063 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002563/0.8302, allocations: 1.588 MB / 0.8078 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.8303, allocations: 4 kB / 0.8078 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006101/0.8364, allocations: 1.935 MB / 0.8097 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.8377, allocations: 497.5 kB / 0.8102 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004419/0.8381, allocations: 16 kB / 0.8102 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/0.84, allocations: 167.8 kB / 0.8104 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.8401, allocations: 59.86 kB / 0.8104 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.81e-05/0.8402, allocations: 43.97 kB / 0.8104 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003148/0.8434, allocations: 1.769 MB / 0.8122 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.535e-06/0.8434, allocations: 4 kB / 0.8122 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002251/0.8456, allocations: 0.6904 MB / 0.8129 GB, free: 1.57 MB / 0.6231 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.001254/0.8469, allocations: 0.5825 MB / 0.8134 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004121/0.851, allocations: 1.35 MB / 0.8147 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.8511, allocations: 4 kB / 0.8147 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002324/0.8534, allocations: 0.6781 MB / 0.8154 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006335/0.8598, allocations: 1.265 MB / 0.8166 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007277/0.8671, allocations: 4.358 MB / 0.8209 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.8682, allocations: 1.478 MB / 0.8223 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007503/0.8689, allocations: 183.4 kB / 0.8225 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of SimCode: time 1.293e-06/0.8689, allocations: 0 / 0.8225 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of Templates: time 0.3899/1.259, allocations: 62.17 MB / 0.8832 GB, free: 213.3 MB / 0.67 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)