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.001064/0.001069, allocations: 106.2 kB / 16.36 MB, free: 6.355 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.001027/0.001027, allocations: 195.8 kB / 17.3 MB, free: 5.906 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7648/0.7648, allocations: 132.2 MB / 423.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 55.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3587, allocations: 80.2 MB / 0.5815 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1118/0.4705, allocations: 132.2 MB / 0.7106 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03248/0.503, allocations: 23.2 MB / 0.7332 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004666/0.5077, allocations: 127.2 kB / 0.7334 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004419/0.5123, allocations: 1.486 MB / 0.7348 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01112/0.5234, allocations: 4.096 MB / 0.7388 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005279/0.5287, allocations: 2.17 MB / 0.7409 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008745/0.5375, allocations: 6.536 MB / 0.7473 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003345/0.5408, allocations: 2.372 MB / 0.7496 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3142/0.855, allocations: 2.748 MB / 0.7523 GB, free: 47.15 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003322/0.8584, allocations: 1.885 MB / 0.7542 GB, free: 47.15 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005874/0.859, allocations: 248.2 kB / 0.7544 GB, free: 47.15 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004374/0.8633, allocations: 1.944 MB / 0.7563 GB, free: 47.15 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000585/0.8639, allocations: 0.5895 MB / 0.7569 GB, free: 47.15 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002086/0.866, allocations: 1.466 MB / 0.7583 GB, free: 46.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006737/0.8728, allocations: 4.384 MB / 0.7626 GB, free: 46.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8728, allocations: 0.625 kB / 0.7626 GB, free: 46.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8728, allocations: 1.406 kB / 0.7626 GB, free: 46.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.676e-05/0.8729, allocations: 0 / 0.7626 GB, free: 46.52 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.005939/0.8788, allocations: 3.184 MB / 0.7657 GB, free: 45.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.8789, allocations: 9.75 kB / 0.7657 GB, free: 45.06 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004241/0.8831, allocations: 0.8378 MB / 0.7665 GB, free: 44.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004229/0.8874, allocations: 2.324 MB / 0.7688 GB, free: 44.35 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.79e-05/0.8875, allocations: 126.3 kB / 0.7689 GB, free: 44.35 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002857/0.8878, allocations: 158.8 kB / 0.7691 GB, free: 44.35 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003541/0.8913, allocations: 1.929 MB / 0.7709 GB, free: 44.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.8914, allocations: 2.125 kB / 0.7709 GB, free: 44.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/0.8916, allocations: 58.59 kB / 0.771 GB, free: 44.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/0.8916, allocations: 42.5 kB / 0.771 GB, free: 44.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004994/0.8966, allocations: 1.805 MB / 0.7728 GB, free: 44.08 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.01122/0.9079, allocations: 8.984 MB / 0.7816 GB, free: 39.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003701/0.9116, allocations: 1.207 MB / 0.7828 GB, free: 39.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009096/0.9125, allocations: 458.5 kB / 0.7832 GB, free: 39.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007084/0.9132, allocations: 1.726 MB / 0.7849 GB, free: 37.69 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.9133, allocations: 41.19 kB / 0.7849 GB, free: 37.65 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.735e-06/0.9133, allocations: 0 / 0.7849 GB, free: 37.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.007531/0.9208, allocations: 2.344 MB / 0.7872 GB, free: 37.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.9209, allocations: 87.27 kB / 0.7873 GB, free: 37.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003277/0.9241, allocations: 2.522 MB / 0.7898 GB, free: 36.87 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.9243, allocations: 45.05 kB / 0.7898 GB, free: 36.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006066/0.9249, allocations: 1.042 MB / 0.7908 GB, free: 36.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.9251, allocations: 270.7 kB / 0.7911 GB, free: 36.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003561/0.9254, allocations: 253.8 kB / 0.7913 GB, free: 36.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.601e-05/0.9255, allocations: 344.5 kB / 0.7916 GB, free: 36.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.9269, allocations: 0.575 MB / 0.7922 GB, free: 36.06 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.9285, allocations: 0.9535 MB / 0.7931 GB, free: 35.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002346/0.9309, allocations: 1.256 MB / 0.7944 GB, free: 35.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.9309, allocations: 0 / 0.7944 GB, free: 35.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005169/0.9361, allocations: 2.02 MB / 0.7963 GB, free: 35.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.9361, allocations: 8.031 kB / 0.7963 GB, free: 35.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.9361, allocations: 11.77 kB / 0.7964 GB, free: 35.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.9376, allocations: 0.4892 MB / 0.7968 GB, free: 35.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.9387, allocations: 277.9 kB / 0.7971 GB, free: 35.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.9406, allocations: 1.519 MB / 0.7986 GB, free: 33.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002854/0.9435, allocations: 366.9 kB / 0.7989 GB, free: 33.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.9437, allocations: 64.27 kB / 0.799 GB, free: 33.86 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.0009684/0.9447, allocations: 462.7 kB / 0.7994 GB, free: 33.74 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000586/0.9452, allocations: 242.6 kB / 0.7997 GB, free: 33.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003308/0.9486, allocations: 1.497 MB / 0.8011 GB, free: 33.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.639e-05/0.9486, allocations: 13.62 kB / 0.8011 GB, free: 33.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.9486, allocations: 0 / 0.8011 GB, free: 33.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.9486, allocations: 3.375 kB / 0.8011 GB, free: 33.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007568/0.9562, allocations: 3.613 MB / 0.8047 GB, free: 32.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.9562, allocations: 5.156 kB / 0.8047 GB, free: 32.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005768/0.9568, allocations: 130.2 kB / 0.8048 GB, free: 32.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001579/0.9584, allocations: 498.5 kB / 0.8053 GB, free: 32.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.832e-05/0.9585, allocations: 27.02 kB / 0.8053 GB, free: 32.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.9606, allocations: 1.586 MB / 0.8068 GB, free: 30.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.9606, allocations: 3.062 kB / 0.8069 GB, free: 30.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005327/0.966, allocations: 1.939 MB / 0.8087 GB, free: 30.08 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.9671, allocations: 490.9 kB / 0.8092 GB, free: 29.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006184/0.9677, allocations: 22.75 kB / 0.8092 GB, free: 29.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/0.9696, allocations: 136 kB / 0.8094 GB, free: 29.72 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.332e-05/0.9697, allocations: 67.05 kB / 0.8094 GB, free: 29.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.749e-05/0.9698, allocations: 42.38 kB / 0.8095 GB, free: 29.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002642/0.9725, allocations: 1.766 MB / 0.8112 GB, free: 29.26 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9725, allocations: 4 kB / 0.8112 GB, free: 29.26 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001974/0.9745, allocations: 0.6954 MB / 0.8119 GB, free: 29.16 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.001084/0.9755, allocations: 0.616 MB / 0.8125 GB, free: 28.92 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003423/0.979, allocations: 1.349 MB / 0.8138 GB, free: 28.35 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.979, allocations: 4 kB / 0.8138 GB, free: 28.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001943/0.9809, allocations: 0.6794 MB / 0.8145 GB, free: 27.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005007/0.986, allocations: 1.33 MB / 0.8158 GB, free: 26.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.9912, allocations: 3.55 MB / 0.8192 GB, free: 23.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007569/0.9919, allocations: 1.488 MB / 0.8207 GB, free: 22.01 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001464/0.9934, allocations: 434.8 kB / 0.8211 GB, free: 21.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/0.9938, allocations: 167 kB / 0.8213 GB, free: 21.44 MB / 0.5762 GB Notification: Performance of SimCode: time 6.42e-07/0.9938, allocations: 4 kB / 0.8213 GB, free: 21.43 MB / 0.5762 GB Notification: Performance of Templates: time 0.06913/1.063, allocations: 48.38 MB / 0.8685 GB, free: 6.07 MB / 0.6075 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)