Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009986/0.0009989, allocations: 177.8 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4943/0.4943, allocations: 90.91 MB / 99.34 MB, free: 2.18 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 221.5 MB / 343.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 108.5 kB / 416 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.138e-05/2.14e-05, allocations: 0 / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1408, allocations: 72.32 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.246, allocations: 388.8 MB / 0.9333 GB, free: 91.88 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/1.247, allocations: 87.33 kB / 0.9334 GB, free: 91.84 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.392/5.638, allocations: 1.3 GB / 2.233 GB, free: 37.31 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.432e-06/5.638, allocations: 0 / 2.233 GB, free: 37.31 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002765/5.639, allocations: 61.81 kB / 2.233 GB, free: 37.31 MB / 0.6355 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.006457/5.645, allocations: 2.635 MB / 2.236 GB, free: 36.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/5.645, allocations: 9.906 kB / 2.236 GB, free: 36.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004748/5.65, allocations: 0.8923 MB / 2.237 GB, free: 36.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005735/5.656, allocations: 2.577 MB / 2.239 GB, free: 35.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008927/5.657, allocations: 263.2 kB / 2.24 GB, free: 35.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003007/5.657, allocations: 95.66 kB / 2.24 GB, free: 35.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002291/5.659, allocations: 1.258 MB / 2.241 GB, free: 35.74 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/5.662, allocations: 1.502 MB / 2.242 GB, free: 35.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/5.662, allocations: 1.312 kB / 2.242 GB, free: 35.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/5.662, allocations: 4.844 kB / 2.242 GB, free: 35.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.431e-05/5.662, allocations: 66.83 kB / 2.242 GB, free: 35.51 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or 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.01167/5.674, allocations: 8.57 MB / 2.251 GB, free: 31.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/5.675, allocations: 0.8702 MB / 2.252 GB, free: 31.44 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004083/5.675, allocations: 344.2 kB / 2.252 GB, free: 31.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008393/5.676, allocations: 1.564 MB / 2.254 GB, free: 29.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/5.676, allocations: 44.73 kB / 2.254 GB, free: 29.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 2.805e-06/5.676, allocations: 0 / 2.254 GB, free: 29.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.006255/5.683, allocations: 1.607 MB / 2.255 GB, free: 29.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/5.683, allocations: 87.55 kB / 2.255 GB, free: 29.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/5.685, allocations: 1.553 MB / 2.257 GB, free: 29.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002524/5.686, allocations: 34.27 kB / 2.257 GB, free: 29.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006094/5.686, allocations: 1.084 MB / 2.258 GB, free: 28.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/5.686, allocations: 265.5 kB / 2.258 GB, free: 28.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/5.686, allocations: 0 / 2.258 GB, free: 28.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.137e-05/5.687, allocations: 340.3 kB / 2.258 GB, free: 28.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/5.687, allocations: 342.3 kB / 2.259 GB, free: 28.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006352/5.688, allocations: 0.7403 MB / 2.259 GB, free: 27.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/5.689, allocations: 490.2 kB / 2.26 GB, free: 27.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/5.689, allocations: 3.719 kB / 2.26 GB, free: 27.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002899/5.692, allocations: 1.368 MB / 2.261 GB, free: 27.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/5.692, allocations: 7.562 kB / 2.261 GB, free: 27.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/5.692, allocations: 9.875 kB / 2.261 GB, free: 27.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002204/5.694, allocations: 0.8476 MB / 2.262 GB, free: 27.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000838/5.695, allocations: 232 kB / 2.262 GB, free: 27.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/5.697, allocations: 1.817 MB / 2.264 GB, free: 26.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/5.7, allocations: 355.9 kB / 2.264 GB, free: 26.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/5.7, allocations: 63.08 kB / 2.264 GB, free: 26.46 MB / 0.6355 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_TEva.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_y.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 19,2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002955/5.7, allocations: 138 kB / 2.265 GB, free: 26.34 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005874/5.706, allocations: 1.601 MB / 2.266 GB, free: 26.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006507/5.707, allocations: 198.8 kB / 2.266 GB, free: 26.08 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005068/5.712, allocations: 1.631 MB / 2.268 GB, free: 25.97 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/5.712, allocations: 10.78 kB / 2.268 GB, free: 25.97 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/5.712, allocations: 3.688 kB / 2.268 GB, free: 25.97 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/5.712, allocations: 5.516 kB / 2.268 GB, free: 25.97 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006961/5.719, allocations: 3.223 MB / 2.271 GB, free: 25.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/5.719, allocations: 3.812 kB / 2.271 GB, free: 25.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/5.719, allocations: 91.41 kB / 2.271 GB, free: 25.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00236/5.722, allocations: 0.8528 MB / 2.272 GB, free: 25.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.472e-05/5.722, allocations: 12.98 kB / 2.272 GB, free: 25.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002339/5.724, allocations: 1.83 MB / 2.274 GB, free: 24.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/5.724, allocations: 3.938 kB / 2.274 GB, free: 24.36 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00438/5.729, allocations: 1.89 MB / 2.276 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/5.73, allocations: 480.8 kB / 2.276 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002583/5.73, allocations: 4.406 kB / 2.276 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/5.732, allocations: 168.3 kB / 2.276 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.473e-05/5.732, allocations: 63.08 kB / 2.276 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.117e-05/5.732, allocations: 45.38 kB / 2.276 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001544/5.733, allocations: 1.177 MB / 2.278 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/5.733, allocations: 0.5625 kB / 2.278 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00254/5.736, allocations: 0.8317 MB / 2.278 GB, free: 23.07 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 21,2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.00697/5.743, allocations: 4.434 MB / 2.283 GB, free: 36.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002174/5.745, allocations: 1.015 MB / 2.284 GB, free: 36.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/5.745, allocations: 3.344 kB / 2.284 GB, free: 36.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/5.746, allocations: 0.5807 MB / 2.284 GB, free: 36.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003961/5.75, allocations: 0.8293 MB / 2.285 GB, free: 36.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006466/5.757, allocations: 2.983 MB / 2.288 GB, free: 35.71 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009748/5.758, allocations: 1.536 MB / 2.29 GB, free: 34.99 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001632/5.759, allocations: 349 kB / 2.29 GB, free: 34.97 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009422/5.76, allocations: 0.8668 MB / 2.291 GB, free: 34.96 MB / 0.6511 GB Notification: Performance of SimCode: time 1.042e-06/5.76, allocations: 1.75 kB / 2.291 GB, free: 34.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08947/5.85, allocations: 59.69 MB / 2.349 GB, free: 31.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/5.85, allocations: 169.9 kB / 2.349 GB, free: 31.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.766/9.616, allocations: 5.797 kB / 2.349 GB, free: 31.17 MB / 0.6511 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)