Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",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.0009329/0.0009329, allocations: 97.2 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009601/0.0009601, allocations: 177.1 kB / 16.57 MB, free: 6.859 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.245/1.245, allocations: 223.2 MB / 240.5 MB, free: 5.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6154/0.6154, allocations: 113.7 MB / 405.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 8 kB / 493 MB, free: 8.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1587, allocations: 77.11 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.3005/0.4592, allocations: 51.26 MB / 0.6068 GB, free: 8.562 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.472, allocations: 10.32 MB / 0.6169 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.4737, allocations: 50.06 kB / 0.6169 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.4753, allocations: 0.6285 MB / 0.6175 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004942/0.4802, allocations: 1.949 MB / 0.6194 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.4837, allocations: 1.317 MB / 0.6207 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002935/0.4867, allocations: 1.857 MB / 0.6225 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.4878, allocations: 0.8286 MB / 0.6233 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.4895, allocations: 0.9906 MB / 0.6243 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000732/0.4902, allocations: 0.614 MB / 0.6249 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.524e-05/0.4903, allocations: 43.75 kB / 0.6249 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.4924, allocations: 0.9979 MB / 0.6259 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.4926, allocations: 195.3 kB / 0.6261 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002432/0.4928, allocations: 286.5 kB / 0.6264 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.4944, allocations: 1.593 MB / 0.6279 GB, free: 11.3 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.4944, allocations: 0 / 0.6279 GB, free: 11.3 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4944, allocations: 0 / 0.6279 GB, free: 11.3 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.4944, allocations: 4 kB / 0.6279 GB, free: 11.29 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002332/0.4967, allocations: 1.505 MB / 0.6294 GB, free: 10.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.4968, allocations: 13.38 kB / 0.6294 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.4969, allocations: 125.1 kB / 0.6295 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002227/0.4991, allocations: 0.5139 MB / 0.63 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/0.5008, allocations: 1.061 MB / 0.6311 GB, free: 8.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003281/0.5011, allocations: 128.2 kB / 0.6312 GB, free: 8.883 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.5012, allocations: 82.69 kB / 0.6313 GB, free: 8.855 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.5031, allocations: 1.026 MB / 0.6323 GB, free: 8.227 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.5031, allocations: 1.062 kB / 0.6323 GB, free: 8.227 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.241e-05/0.5032, allocations: 34.36 kB / 0.6323 GB, free: 8.199 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.5032, allocations: 23.94 kB / 0.6323 GB, free: 8.195 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.5055, allocations: 0.994 MB / 0.6333 GB, free: 7.73 MB / 462.1 MB 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.005168/0.5107, allocations: 4.719 MB / 0.6379 GB, free: 3.582 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003811/0.5145, allocations: 1.132 MB / 0.639 GB, free: 3.062 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008283/0.5154, allocations: 1.024 MB / 0.64 GB, free: 1.891 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.5154, allocations: 40.94 kB / 0.6401 GB, free: 1.844 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.174e-06/0.5154, allocations: 0 / 0.6401 GB, free: 1.844 MB / 462.1 MB Notification: Performance of matching and sorting (n=53): time 0.007067/0.5225, allocations: 2.147 MB / 0.6421 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.5225, allocations: 55.56 kB / 0.6422 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.5237, allocations: 0.9463 MB / 0.6431 GB, free: 220 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7e-05/0.5238, allocations: 42.8 kB / 0.6432 GB, free: 176 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/0.5242, allocations: 0.5101 MB / 0.6437 GB, free: 15.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.5243, allocations: 185.4 kB / 0.6438 GB, free: 15.56 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.5244, allocations: 11.34 kB / 0.6439 GB, free: 15.55 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.5245, allocations: 325 kB / 0.6442 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009329/0.5254, allocations: 378.4 kB / 0.6445 GB, free: 15.06 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.5265, allocations: 0.5223 MB / 0.645 GB, free: 14.71 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009573/0.5274, allocations: 399 kB / 0.6454 GB, free: 14.44 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.5274, allocations: 7.891 kB / 0.6454 GB, free: 14.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003467/0.5309, allocations: 1.291 MB / 0.6467 GB, free: 13.13 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000282/0.5312, allocations: 0.9694 MB / 0.6476 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.5312, allocations: 4 kB / 0.6476 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.5323, allocations: 320.6 kB / 0.6479 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/0.5329, allocations: 143.8 kB / 0.6481 GB, free: 11.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.5342, allocations: 0.9366 MB / 0.649 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.5354, allocations: 183.9 kB / 0.6492 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.521e-05/0.5355, allocations: 31.92 kB / 0.6492 GB, free: 10.46 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/0.5355, allocations: 4 kB / 0.6492 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003132/0.5386, allocations: 1.154 MB / 0.6503 GB, free: 9.297 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.5386, allocations: 320 / 0.6503 GB, free: 9.297 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009746/0.5396, allocations: 324.6 kB / 0.6506 GB, free: 8.977 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/0.5402, allocations: 143.8 kB / 0.6508 GB, free: 8.836 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.5414, allocations: 0.9285 MB / 0.6517 GB, free: 7.883 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.5425, allocations: 168.4 kB / 0.6518 GB, free: 7.719 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.5426, allocations: 31.97 kB / 0.6519 GB, free: 7.688 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004432/0.543, allocations: 348.9 kB / 0.6522 GB, free: 7.336 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.5432, allocations: 110.7 kB / 0.6523 GB, free: 7.227 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/0.546, allocations: 1.226 MB / 0.6535 GB, free: 5.992 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.546, allocations: 8 kB / 0.6535 GB, free: 5.984 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.546, allocations: 4 kB / 0.6535 GB, free: 5.98 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.546, allocations: 7.938 kB / 0.6535 GB, free: 5.973 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003988/0.55, allocations: 2.327 MB / 0.6558 GB, free: 3.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.55, allocations: 0 / 0.6558 GB, free: 3.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005181/0.5506, allocations: 116 kB / 0.6559 GB, free: 3.457 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000929/0.5515, allocations: 323.2 kB / 0.6562 GB, free: 3.141 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.5516, allocations: 19.98 kB / 0.6562 GB, free: 3.121 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.5528, allocations: 0.9737 MB / 0.6572 GB, free: 2.121 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5529, allocations: 4 kB / 0.6572 GB, free: 2.117 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003318/0.5562, allocations: 1.475 MB / 0.6586 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000451/0.5566, allocations: 295.4 kB / 0.6589 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.5568, allocations: 15.95 kB / 0.6589 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008733/0.5577, allocations: 135.7 kB / 0.6591 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.5577, allocations: 32.39 kB / 0.6591 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.413e-05/0.5578, allocations: 27.97 kB / 0.6591 GB, free: 56 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000771/0.5586, allocations: 0.6676 MB / 0.6598 GB, free: 15.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.417e-06/0.5586, allocations: 0 / 0.6598 GB, free: 15.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001329/0.5599, allocations: 0.573 MB / 0.6603 GB, free: 14.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.003419/0.5633, allocations: 2.544 MB / 0.6628 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003327/0.5667, allocations: 1.381 MB / 0.6642 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.5667, allocations: 3.938 kB / 0.6642 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.5678, allocations: 484.8 kB / 0.6646 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.5702, allocations: 0.4995 MB / 0.6651 GB, free: 9.832 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004698/0.5749, allocations: 4.653 MB / 0.6697 GB, free: 5.062 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.5754, allocations: 1.098 MB / 0.6707 GB, free: 3.934 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009286/0.5763, allocations: 228.5 kB / 0.6709 GB, free: 3.707 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004695/0.5768, allocations: 419.3 kB / 0.6713 GB, free: 3.297 MB / 494.1 MB Notification: Performance of SimCode: time 1.583e-06/0.5768, allocations: 0 / 0.6713 GB, free: 3.297 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.709/2.286, allocations: 32.87 MB / 0.7034 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/2.287, allocations: 249.1 kB / 0.7037 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.705/5.992, allocations: 4 kB / 0.7037 GB, free: 2.59 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1) Environment - environmentSimulation: