Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_ModularReversible_Validation_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_ModularReversible_Validation_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0063/0.0063, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001305/0.001306, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 469.4 MB / 0.7421 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3007, allocations: 159.1 MB / 1.22 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y): time 0.7441/1.045, allocations: 75.42 MB / 1.293 GB, free: 6.059 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02003/1.065, allocations: 12.8 MB / 1.306 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003341/1.068, allocations: 69.34 kB / 1.306 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003462/1.072, allocations: 0.8557 MB / 1.307 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009498/1.081, allocations: 2.608 MB / 1.309 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005084/1.086, allocations: 1.398 MB / 1.311 GB, free: 10.01 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.008917/1.095, allocations: 4.432 MB / 1.315 GB, free: 7.797 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003683/1.099, allocations: 1.443 MB / 1.317 GB, free: 7.098 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005496/1.105, allocations: 1.669 MB / 1.318 GB, free: 6.277 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003174/1.108, allocations: 1.214 MB / 1.319 GB, free: 5.703 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0007264/1.109, allocations: 163.7 kB / 1.32 GB, free: 5.703 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004782/1.113, allocations: 1.406 MB / 1.321 GB, free: 5.188 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0008817/1.114, allocations: 404 kB / 1.321 GB, free: 4.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002417/1.117, allocations: 0.9136 MB / 1.322 GB, free: 4.359 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006904/1.124, allocations: 2.883 MB / 1.325 GB, free: 3.262 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/1.124, allocations: 0 / 1.325 GB, free: 3.262 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.649e-06/1.124, allocations: 1.406 kB / 1.325 GB, free: 3.262 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.866e-05/1.124, allocations: 3.938 kB / 1.325 GB, free: 3.258 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006754/1.131, allocations: 2.102 MB / 1.327 GB, free: 1.871 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.131, allocations: 13.53 kB / 1.327 GB, free: 1.867 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004441/1.131, allocations: 148.3 kB / 1.327 GB, free: 1.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/1.132, allocations: 228.8 kB / 1.327 GB, free: 1.684 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003956/1.136, allocations: 1.546 MB / 1.329 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.13e-05/1.136, allocations: 76.03 kB / 1.329 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000294/1.137, allocations: 101 kB / 1.329 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002856/1.14, allocations: 1.099 MB / 1.33 GB, free: 208 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.246e-05/1.14, allocations: 1.688 kB / 1.33 GB, free: 208 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/1.14, allocations: 37.16 kB / 1.33 GB, free: 180 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.172e-05/1.14, allocations: 25.38 kB / 1.33 GB, free: 180 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/1.142, allocations: 0.887 MB / 1.331 GB, free: 15.86 MB / 1.045 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.008853/1.151, allocations: 4.934 MB / 1.336 GB, free: 12.4 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/1.153, allocations: 0.6049 MB / 1.336 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007202/1.154, allocations: 346.2 kB / 1.337 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007005/1.154, allocations: 0.8271 MB / 1.338 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/1.154, allocations: 38.62 kB / 1.338 GB, free: 11.07 MB / 1.045 GB Notification: Performance of pre-optimization done (n=61): time 3.116e-06/1.154, allocations: 1.094 kB / 1.338 GB, free: 11.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=61): time 0.007333/1.162, allocations: 1.712 MB / 1.339 GB, free: 10.56 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/1.162, allocations: 58.19 kB / 1.339 GB, free: 10.5 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/1.165, allocations: 1.259 MB / 1.341 GB, free: 9.984 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001971/1.165, allocations: 39.33 kB / 1.341 GB, free: 9.945 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007/1.165, allocations: 0.608 MB / 1.341 GB, free: 9.465 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003585/1.166, allocations: 217 kB / 1.341 GB, free: 9.293 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000395/1.166, allocations: 162.9 kB / 1.342 GB, free: 9.211 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001849/1.166, allocations: 330.2 kB / 1.342 GB, free: 8.895 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008296/1.167, allocations: 288.6 kB / 1.342 GB, free: 8.793 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/1.168, allocations: 494.1 kB / 1.343 GB, free: 8.477 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/1.17, allocations: 0.7053 MB / 1.343 GB, free: 8.094 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/1.17, allocations: 1.438 kB / 1.343 GB, free: 8.094 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005038/1.175, allocations: 1.272 MB / 1.345 GB, free: 7.684 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/1.175, allocations: 6.375 kB / 1.345 GB, free: 7.684 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/1.175, allocations: 11.23 kB / 1.345 GB, free: 7.68 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006862/1.176, allocations: 136.8 kB / 1.345 GB, free: 7.648 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006659/1.177, allocations: 165.9 kB / 1.345 GB, free: 7.629 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000915/1.178, allocations: 0.692 MB / 1.346 GB, free: 7.043 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/1.179, allocations: 123.9 kB / 1.346 GB, free: 6.98 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/1.179, allocations: 34.23 kB / 1.346 GB, free: 6.973 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001383/1.181, allocations: 0.5498 MB / 1.346 GB, free: 6.691 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000985/1.182, allocations: 482.8 kB / 1.347 GB, free: 6.379 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001595/1.183, allocations: 0.7007 MB / 1.347 GB, free: 5.98 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.813e-06/1.183, allocations: 1.344 kB / 1.347 GB, free: 5.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004902/1.188, allocations: 1.257 MB / 1.349 GB, free: 5.352 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.188, allocations: 6.438 kB / 1.349 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.188, allocations: 4.25 kB / 1.349 GB, free: 5.352 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006015/1.189, allocations: 144.7 kB / 1.349 GB, free: 5.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/1.189, allocations: 162.6 kB / 1.349 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008525/1.19, allocations: 0.6941 MB / 1.35 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/1.192, allocations: 94.58 kB / 1.35 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/1.192, allocations: 34.36 kB / 1.35 GB, free: 4.555 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003451/1.192, allocations: 225 kB / 1.35 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006525/1.193, allocations: 141.2 kB / 1.35 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004744/1.198, allocations: 1.254 MB / 1.351 GB, free: 3.566 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/1.198, allocations: 11.31 kB / 1.351 GB, free: 3.562 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/1.198, allocations: 0 / 1.351 GB, free: 3.562 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003833/1.202, allocations: 1.099 MB / 1.352 GB, free: 2.93 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007518/1.209, allocations: 2.578 MB / 1.355 GB, free: 1.148 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/1.209, allocations: 7.5 kB / 1.355 GB, free: 1.145 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004848/1.21, allocations: 114.9 kB / 1.355 GB, free: 1.113 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005278/1.21, allocations: 140.1 kB / 1.355 GB, free: 1.043 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/1.21, allocations: 24.7 kB / 1.355 GB, free: 1.027 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005056/1.215, allocations: 2.581 MB / 1.358 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/1.215, allocations: 15.2 kB / 1.358 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005517/1.221, allocations: 1.689 MB / 1.359 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.222, allocations: 306.5 kB / 1.36 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000558/1.223, allocations: 23.19 kB / 1.36 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/1.224, allocations: 54.02 kB / 1.36 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/1.224, allocations: 56.56 kB / 1.36 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.224, allocations: 37.38 kB / 1.36 GB, free: 13.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001922/1.226, allocations: 0.9011 MB / 1.361 GB, free: 12.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 3e-07/1.226, allocations: 0 / 1.361 GB, free: 12.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003594/1.23, allocations: 0.7236 MB / 1.361 GB, free: 12.8 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007647/1.237, allocations: 2.599 MB / 1.364 GB, free: 11.1 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003634/1.241, allocations: 1.11 MB / 1.365 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/1.241, allocations: 1.188 kB / 1.365 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/1.243, allocations: 0.5539 MB / 1.366 GB, free: 10.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004978/1.248, allocations: 0.8171 MB / 1.366 GB, free: 9.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/1.271, allocations: 9.95 MB / 1.376 GB, free: 3.863 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009885/1.272, allocations: 1.178 MB / 1.377 GB, free: 2.941 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001508/1.273, allocations: 304.8 kB / 1.378 GB, free: 2.797 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008386/1.274, allocations: 0.5345 MB / 1.378 GB, free: 2.352 MB / 1.061 GB Notification: Performance of SimCode: time 1.392e-06/1.274, allocations: 0 / 1.378 GB, free: 2.352 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08428/1.358, allocations: 43.44 MB / 1.42 GB, free: 7.633 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.95, allocations: 15.45 kB / 1.421 GB, free: 7.621 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_ModularReversible_Validation_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_ModularReversible_Validation_Carnot_y.fmu > Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe 2>&1)