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.00161/0.00161, allocations: 103.3 kB / 16.41 MB, free: 6.516 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.002074/0.002074, allocations: 181.8 kB / 17.34 MB, free: 5.738 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.457/1.457, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8342/0.8342, allocations: 135.2 MB / 426.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 65.42 kB / 0.5863 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1482, allocations: 80.93 MB / 0.6654 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4898/0.638, allocations: 132.4 MB / 0.7947 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02927/0.6673, allocations: 23.22 MB / 0.8174 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005151/0.6724, allocations: 123.2 kB / 0.8175 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004389/0.6768, allocations: 1.548 MB / 0.819 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01271/0.6895, allocations: 4.308 MB / 0.8232 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00614/0.6957, allocations: 2.181 MB / 0.8253 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01053/0.7062, allocations: 6.525 MB / 0.8317 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004014/0.7102, allocations: 1.923 MB / 0.8336 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007373/0.7176, allocations: 2.821 MB / 0.8363 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004065/0.7216, allocations: 1.897 MB / 0.8382 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008546/0.7225, allocations: 246.1 kB / 0.8384 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005493/0.728, allocations: 1.934 MB / 0.8403 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001115/0.7291, allocations: 0.6214 MB / 0.8409 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00296/0.7321, allocations: 1.458 MB / 0.8423 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009547/0.7416, allocations: 4.417 MB / 0.8466 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.7416, allocations: 4 kB / 0.8466 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7416, allocations: 0 / 0.8466 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001326/0.7418, allocations: 0 / 0.8466 GB, free: 11.12 MB / 0.6075 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.007471/0.7492, allocations: 3.278 MB / 0.8498 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.7493, allocations: 9.109 kB / 0.8499 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004816/0.7541, allocations: 0.8489 MB / 0.8507 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005951/0.76, allocations: 2.337 MB / 0.853 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/0.7602, allocations: 127 kB / 0.8531 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003245/0.7605, allocations: 160 kB / 0.8532 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004589/0.7651, allocations: 1.926 MB / 0.8551 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/0.7651, allocations: 4 kB / 0.8551 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/0.7653, allocations: 60 kB / 0.8552 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/0.7654, allocations: 43.94 kB / 0.8552 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005144/0.7705, allocations: 1.796 MB / 0.857 GB, free: 312 kB / 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.01631/0.7868, allocations: 9.028 MB / 0.8658 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004508/0.7913, allocations: 1.146 MB / 0.8669 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.7925, allocations: 441.3 kB / 0.8673 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/0.794, allocations: 1.719 MB / 0.869 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.7941, allocations: 46.5 kB / 0.8691 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.975e-06/0.7941, allocations: 0 / 0.8691 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.009152/0.8032, allocations: 2.34 MB / 0.8713 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.8033, allocations: 85.11 kB / 0.8714 GB, free: 436 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004693/0.808, allocations: 2.524 MB / 0.8739 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.8082, allocations: 45.7 kB / 0.8739 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.8093, allocations: 1.058 MB / 0.875 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/0.8096, allocations: 281.6 kB / 0.8752 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000504/0.8101, allocations: 270.6 kB / 0.8755 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.8103, allocations: 345.9 kB / 0.8758 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/0.8122, allocations: 0.5686 MB / 0.8764 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.8145, allocations: 0.9504 MB / 0.8773 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003314/0.8179, allocations: 1.244 MB / 0.8785 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/0.8179, allocations: 7.938 kB / 0.8785 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007157/0.825, allocations: 2.029 MB / 0.8805 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.8251, allocations: 8 kB / 0.8805 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.432e-05/0.8251, allocations: 8 kB / 0.8805 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001974/0.8271, allocations: 497.3 kB / 0.881 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.8284, allocations: 279.6 kB / 0.8813 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/0.8309, allocations: 1.514 MB / 0.8827 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/0.8339, allocations: 374.4 kB / 0.8831 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002862/0.8342, allocations: 67.91 kB / 0.8832 GB, free: 4.02 MB / 0.6387 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.00105/0.8353, allocations: 461.8 kB / 0.8836 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007422/0.836, allocations: 270.2 kB / 0.8839 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004117/0.8401, allocations: 1.493 MB / 0.8853 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.8402, allocations: 8 kB / 0.8853 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.8402, allocations: 0 / 0.8853 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.8402, allocations: 7.984 kB / 0.8853 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008802/0.849, allocations: 3.611 MB / 0.8889 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.849, allocations: 11.92 kB / 0.8889 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006511/0.8497, allocations: 128.2 kB / 0.889 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001832/0.8515, allocations: 485 kB / 0.8895 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.8516, allocations: 27.98 kB / 0.8895 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002867/0.8545, allocations: 1.591 MB / 0.891 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.8545, allocations: 4 kB / 0.891 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00652/0.861, allocations: 1.944 MB / 0.8929 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.8623, allocations: 499 kB / 0.8934 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005061/0.8628, allocations: 31.86 kB / 0.8935 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/0.8646, allocations: 131.8 kB / 0.8936 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.8648, allocations: 59.78 kB / 0.8936 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.8649, allocations: 43.91 kB / 0.8937 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003522/0.8684, allocations: 1.773 MB / 0.8954 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8684, allocations: 3.938 kB / 0.8954 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002647/0.871, allocations: 0.6941 MB / 0.8961 GB, free: 6.496 MB / 0.6544 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.001331/0.8724, allocations: 0.6225 MB / 0.8967 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004415/0.8768, allocations: 1.303 MB / 0.898 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.8768, allocations: 4.188 kB / 0.898 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002523/0.8793, allocations: 0.6509 MB / 0.8986 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006627/0.886, allocations: 1.324 MB / 0.8999 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007261/0.8932, allocations: 3.658 MB / 0.9035 GB, free: 14.88 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.8944, allocations: 1.482 MB / 0.9049 GB, free: 13.36 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007353/0.8951, allocations: 179.4 kB / 0.9051 GB, free: 13.18 MB / 0.67 GB Notification: Performance of SimCode: time 8.52e-07/0.8951, allocations: 0 / 0.9051 GB, free: 13.18 MB / 0.67 GB Notification: Performance of Templates: time 0.08591/0.981, allocations: 62.95 MB / 0.9666 GB, free: 14.46 MB / 0.7325 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)