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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 182.8 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.736/0.736, allocations: 133.3 MB / 150.1 MB, free: 11.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 404.7 MB, free: 6.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000989/0.0009888, allocations: 95.7 kB / 485.9 MB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 52.16 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1355, allocations: 80.42 MB / 0.6421 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4177/0.5533, allocations: 131.3 MB / 0.7704 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.03298/0.5863, allocations: 23.3 MB / 0.7931 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00446/0.5908, allocations: 115.2 kB / 0.7932 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.004104/0.5949, allocations: 1.204 MB / 0.7944 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.6056, allocations: 3.76 MB / 0.7981 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.005028/0.6106, allocations: 1.964 MB / 0.8 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0102/0.6208, allocations: 8.321 MB / 0.8081 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003348/0.6242, allocations: 1.974 MB / 0.8101 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005815/0.6301, allocations: 2.395 MB / 0.8124 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/0.6332, allocations: 1.87 MB / 0.8142 GB, free: 6.285 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.000383/0.6336, allocations: 120 kB / 0.8143 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004192/0.6378, allocations: 1.742 MB / 0.8161 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0005715/0.6384, allocations: 493.6 kB / 0.8165 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001838/0.6403, allocations: 1.329 MB / 0.8178 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.005777/0.6461, allocations: 4.237 MB / 0.822 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.6461, allocations: 4 kB / 0.822 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6461, allocations: 0 / 0.822 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.329e-05/0.6461, allocations: 0 / 0.822 GB, free: 14.35 MB / 0.5573 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.005756/0.6519, allocations: 3.188 MB / 0.8251 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.652, allocations: 8.031 kB / 0.8251 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004458/0.6564, allocations: 0.8439 MB / 0.8259 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004493/0.6609, allocations: 2.26 MB / 0.8281 GB, free: 7.883 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009801/0.6619, allocations: 294.8 kB / 0.8284 GB, free: 7.594 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002735/0.6622, allocations: 164 kB / 0.8286 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004162/0.6664, allocations: 1.93 MB / 0.8304 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.6664, allocations: 7.938 kB / 0.8304 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.6666, allocations: 64 kB / 0.8305 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.6666, allocations: 47.88 kB / 0.8306 GB, free: 5.32 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005053/0.6717, allocations: 1.823 MB / 0.8323 GB, free: 3.496 MB / 0.5573 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.01296/0.6847, allocations: 9.024 MB / 0.8411 GB, free: 9.871 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004415/0.6891, allocations: 1.208 MB / 0.8423 GB, free: 8.648 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.6902, allocations: 457.4 kB / 0.8428 GB, free: 8.195 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/0.6915, allocations: 1.726 MB / 0.8444 GB, free: 6.082 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.6915, allocations: 46.31 kB / 0.8445 GB, free: 6.027 MB / 0.573 GB Notification: Performance of pre-optimization done (n=76): time 2.585e-06/0.6915, allocations: 0 / 0.8445 GB, free: 6.027 MB / 0.573 GB Notification: Performance of matching and sorting (n=76): time 0.009039/0.7006, allocations: 2.329 MB / 0.8468 GB, free: 3.645 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.7006, allocations: 85.11 kB / 0.8468 GB, free: 3.543 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003984/0.7046, allocations: 2.52 MB / 0.8493 GB, free: 1.004 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.7048, allocations: 45.7 kB / 0.8493 GB, free: 0.9531 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008391/0.7056, allocations: 1.042 MB / 0.8504 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.7059, allocations: 276.1 kB / 0.8506 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004093/0.7063, allocations: 254.6 kB / 0.8509 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.7064, allocations: 349.9 kB / 0.8512 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/0.7083, allocations: 0.5881 MB / 0.8518 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/0.7104, allocations: 0.9751 MB / 0.8527 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003088/0.7135, allocations: 1.256 MB / 0.854 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.7135, allocations: 4 kB / 0.854 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006888/0.7204, allocations: 2.051 MB / 0.856 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.7205, allocations: 8.625 kB / 0.856 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.7205, allocations: 8 kB / 0.856 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/0.7223, allocations: 497.1 kB / 0.8565 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.7235, allocations: 295.5 kB / 0.8567 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.7257, allocations: 1.507 MB / 0.8582 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/0.7288, allocations: 445.8 kB / 0.8586 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.729, allocations: 55.97 kB / 0.8587 GB, free: 7.023 MB / 0.5886 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.0008512/0.7299, allocations: 462 kB / 0.8591 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004474/0.7303, allocations: 252.8 kB / 0.8594 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003636/0.734, allocations: 1.494 MB / 0.8608 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.734, allocations: 11.98 kB / 0.8608 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.734, allocations: 0 / 0.8608 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.734, allocations: 3.984 kB / 0.8608 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007605/0.7416, allocations: 3.614 MB / 0.8644 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.7417, allocations: 4 kB / 0.8644 GB, free: 1.051 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.7423, allocations: 132.2 kB / 0.8645 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001642/0.7439, allocations: 493.8 kB / 0.865 GB, free: 444 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.576e-05/0.744, allocations: 27.97 kB / 0.865 GB, free: 416 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/0.7466, allocations: 1.586 MB / 0.8665 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.7466, allocations: 12 kB / 0.8666 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008501/0.7551, allocations: 3.524 MB / 0.87 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.7563, allocations: 485.6 kB / 0.8705 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004537/0.7568, allocations: 16 kB / 0.8705 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/0.7587, allocations: 175.7 kB / 0.8706 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.854e-05/0.7588, allocations: 63.8 kB / 0.8707 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.819e-05/0.7589, allocations: 39.97 kB / 0.8707 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002974/0.7619, allocations: 1.773 MB / 0.8725 GB, free: 8.562 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7619, allocations: 0 / 0.8725 GB, free: 8.562 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002029/0.7639, allocations: 0.7022 MB / 0.8732 GB, free: 7.859 MB / 0.6042 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.00105/0.765, allocations: 0.6043 MB / 0.8738 GB, free: 7.258 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004077/0.7691, allocations: 1.354 MB / 0.8751 GB, free: 5.902 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.7691, allocations: 4 kB / 0.8751 GB, free: 5.898 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002318/0.7714, allocations: 0.674 MB / 0.8757 GB, free: 5.223 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005933/0.7774, allocations: 1.255 MB / 0.877 GB, free: 3.984 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/0.7839, allocations: 4.782 MB / 0.8816 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.7849, allocations: 1.517 MB / 0.8831 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001929/0.7869, allocations: 432.6 kB / 0.8835 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004073/0.7873, allocations: 163.4 kB / 0.8837 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/0.7873, allocations: 0 / 0.8837 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.07547/0.8628, allocations: 49.94 MB / 0.9325 GB, free: 11.54 MB / 0.6667 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)