Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.00145, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.491/1.491, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9854/0.9854, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 64.48 kB / 0.5053 GB, free: 5.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1884, allocations: 80.93 MB / 0.5844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.5114/0.6999, allocations: 132.2 MB / 0.7134 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0439/0.7438, allocations: 23.21 MB / 0.7361 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008056/0.752, allocations: 124.8 kB / 0.7362 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006051/0.7581, allocations: 1.488 MB / 0.7377 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01562/0.7737, allocations: 4.087 MB / 0.7416 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007375/0.7811, allocations: 2.135 MB / 0.7437 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01263/0.7938, allocations: 6.527 MB / 0.7501 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005952/0.7998, allocations: 2.36 MB / 0.7524 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00932/0.8091, allocations: 2.745 MB / 0.7551 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005219/0.8144, allocations: 1.882 MB / 0.7569 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00149/0.8159, allocations: 248 kB / 0.7572 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007593/0.8235, allocations: 1.938 MB / 0.7591 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001671/0.8252, allocations: 0.5993 MB / 0.7596 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004828/0.8301, allocations: 1.462 MB / 0.7611 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.8404, allocations: 4.335 MB / 0.7653 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.8405, allocations: 0 / 0.7653 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.145e-06/0.8405, allocations: 0 / 0.7653 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001149/0.8406, allocations: 0 / 0.7653 GB, free: 3.684 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.007498/0.8481, allocations: 3.184 MB / 0.7684 GB, free: 424 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.8482, allocations: 8.031 kB / 0.7684 GB, free: 416 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005118/0.8533, allocations: 0.8395 MB / 0.7692 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005294/0.8586, allocations: 2.225 MB / 0.7714 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009923/0.8596, allocations: 294.8 kB / 0.7717 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004831/0.8601, allocations: 163.9 kB / 0.7719 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004389/0.8645, allocations: 1.934 MB / 0.7737 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.8646, allocations: 7.938 kB / 0.7738 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.8648, allocations: 63.94 kB / 0.7738 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.8648, allocations: 44 kB / 0.7739 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004835/0.8696, allocations: 1.811 MB / 0.7756 GB, free: 8.887 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.01445/0.8841, allocations: 9.058 MB / 0.7845 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004825/0.889, allocations: 1.186 MB / 0.7856 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.8901, allocations: 462.1 kB / 0.7861 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00149/0.8917, allocations: 1.726 MB / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.8917, allocations: 46.3 kB / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 3.497e-06/0.8917, allocations: 0 / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.009176/0.9009, allocations: 2.32 MB / 0.7901 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.901, allocations: 85.11 kB / 0.7901 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004893/0.9059, allocations: 2.524 MB / 0.7926 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002415/0.9062, allocations: 41.7 kB / 0.7926 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.9072, allocations: 1.037 MB / 0.7937 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/0.9076, allocations: 268.2 kB / 0.7939 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004755/0.908, allocations: 258.6 kB / 0.7942 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.9082, allocations: 345.9 kB / 0.7945 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.9102, allocations: 0.5881 MB / 0.7951 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00228/0.9125, allocations: 0.966 MB / 0.796 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003203/0.9157, allocations: 1.269 MB / 0.7972 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.9157, allocations: 0 / 0.7972 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007204/0.9229, allocations: 2.051 MB / 0.7993 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.923, allocations: 8 kB / 0.7993 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.923, allocations: 8 kB / 0.7993 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/0.9246, allocations: 421.9 kB / 0.7997 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.926, allocations: 291.5 kB / 0.7999 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.9282, allocations: 1.503 MB / 0.8014 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/0.9312, allocations: 393.2 kB / 0.8018 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/0.9314, allocations: 65.52 kB / 0.8019 GB, free: 12.56 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0009119/0.9323, allocations: 453.9 kB / 0.8023 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005647/0.9329, allocations: 260.8 kB / 0.8025 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003637/0.9366, allocations: 1.489 MB / 0.804 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.9366, allocations: 12 kB / 0.804 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9366, allocations: 0 / 0.804 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.9366, allocations: 7.969 kB / 0.804 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007523/0.9441, allocations: 3.619 MB / 0.8075 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.9442, allocations: 0 / 0.8075 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006089/0.9448, allocations: 128.2 kB / 0.8077 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.9463, allocations: 417.2 kB / 0.8081 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.926e-05/0.9463, allocations: 23.98 kB / 0.8081 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/0.9489, allocations: 1.573 MB / 0.8096 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.949, allocations: 7.938 kB / 0.8096 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006402/0.9554, allocations: 1.927 MB / 0.8115 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/0.9569, allocations: 485.6 kB / 0.812 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003735/0.9573, allocations: 20 kB / 0.812 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/0.9591, allocations: 147.8 kB / 0.8121 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.994e-05/0.9592, allocations: 63.73 kB / 0.8122 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.9593, allocations: 43.97 kB / 0.8122 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003253/0.9626, allocations: 1.765 MB / 0.814 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9626, allocations: 0 / 0.814 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002377/0.965, allocations: 0.6944 MB / 0.8146 GB, free: 15.19 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001126/0.9661, allocations: 0.6078 MB / 0.8152 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004344/0.9705, allocations: 1.401 MB / 0.8166 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.9705, allocations: 0 / 0.8166 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002315/0.9728, allocations: 0.6721 MB / 0.8173 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00618/0.979, allocations: 1.329 MB / 0.8186 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00622/0.9853, allocations: 3.589 MB / 0.8221 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.9863, allocations: 1.49 MB / 0.8235 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002155/0.9885, allocations: 436.5 kB / 0.8239 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/0.9889, allocations: 175.3 kB / 0.8241 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of SimCode: time 1.252e-06/0.9889, allocations: 0 / 0.8241 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of Templates: time 0.3916/1.381, allocations: 50.94 MB / 0.8738 GB, free: 198.6 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)