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.0007286/0.0007287, allocations: 88.17 kB / 15.7 MB, free: 460 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.001285/0.001285, allocations: 171.8 kB / 16.58 MB, free: 6.852 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.226/1.226, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6281/0.6281, allocations: 113.7 MB / 405.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002781/0.0002782, allocations: 13.06 kB / 493.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1304, allocations: 77.12 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.285/0.4154, allocations: 56.46 MB / 0.612 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01396/0.4294, allocations: 11.21 MB / 0.623 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/0.4316, allocations: 57.22 kB / 0.623 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.4332, allocations: 471 kB / 0.6235 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004934/0.4382, allocations: 1.533 MB / 0.625 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002915/0.4411, allocations: 0.8571 MB / 0.6258 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004959/0.4461, allocations: 3.4 MB / 0.6291 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.4475, allocations: 0.8085 MB / 0.6299 GB, free: 9.543 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.4501, allocations: 1.044 MB / 0.6309 GB, free: 8.961 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.4517, allocations: 0.8139 MB / 0.6317 GB, free: 8.492 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.4518, allocations: 43.66 kB / 0.6318 GB, free: 8.492 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.4544, allocations: 1.102 MB / 0.6329 GB, free: 7.898 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002592/0.4547, allocations: 200.4 kB / 0.633 GB, free: 7.746 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004068/0.4551, allocations: 286.9 kB / 0.6333 GB, free: 7.578 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.4571, allocations: 1.648 MB / 0.6349 GB, free: 6.492 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4571, allocations: 0 / 0.6349 GB, free: 6.492 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.4571, allocations: 3.984 kB / 0.6349 GB, free: 6.488 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.4572, allocations: 0 / 0.6349 GB, free: 6.488 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.002549/0.4597, allocations: 1.517 MB / 0.6364 GB, free: 5.309 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4598, allocations: 13.84 kB / 0.6364 GB, free: 5.305 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001372/0.4599, allocations: 128.1 kB / 0.6366 GB, free: 5.195 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/0.4621, allocations: 0.5113 MB / 0.6371 GB, free: 4.984 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.464, allocations: 1.097 MB / 0.6381 GB, free: 4.098 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002863/0.4643, allocations: 127.5 kB / 0.6382 GB, free: 4.051 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.4644, allocations: 87.17 kB / 0.6383 GB, free: 4.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.4663, allocations: 1.022 MB / 0.6393 GB, free: 3.398 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.4663, allocations: 5.75 kB / 0.6393 GB, free: 3.395 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.466e-05/0.4664, allocations: 31.19 kB / 0.6394 GB, free: 3.371 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.4664, allocations: 21.92 kB / 0.6394 GB, free: 3.367 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.4687, allocations: 0.9989 MB / 0.6404 GB, free: 2.898 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.005528/0.4742, allocations: 4.702 MB / 0.6449 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/0.4776, allocations: 1.121 MB / 0.646 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009063/0.4785, allocations: 437.4 kB / 0.6465 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000907/0.4794, allocations: 1.035 MB / 0.6475 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.4795, allocations: 38.34 kB / 0.6475 GB, free: 12.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 2.344e-06/0.4795, allocations: 0 / 0.6475 GB, free: 12.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=53): time 0.0066/0.4861, allocations: 2.146 MB / 0.6496 GB, free: 11.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.4861, allocations: 55.84 kB / 0.6497 GB, free: 11.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.4873, allocations: 0.928 MB / 0.6506 GB, free: 10.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.473e-05/0.4874, allocations: 37.7 kB / 0.6506 GB, free: 10.03 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/0.4878, allocations: 0.5079 MB / 0.6511 GB, free: 9.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.488, allocations: 185.3 kB / 0.6513 GB, free: 9.336 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.488, allocations: 16 kB / 0.6513 GB, free: 9.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4881, allocations: 329.9 kB / 0.6516 GB, free: 8.992 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008803/0.489, allocations: 376.9 kB / 0.652 GB, free: 8.625 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.4901, allocations: 0.5303 MB / 0.6525 GB, free: 8.035 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009588/0.4911, allocations: 397.9 kB / 0.6529 GB, free: 7.648 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4911, allocations: 4 kB / 0.6529 GB, free: 7.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003419/0.4945, allocations: 1.292 MB / 0.6541 GB, free: 6.348 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.4946, allocations: 161.8 kB / 0.6543 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.4946, allocations: 8.703 kB / 0.6543 GB, free: 6.148 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.4958, allocations: 324.6 kB / 0.6546 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.4964, allocations: 147.8 kB / 0.6547 GB, free: 5.684 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.4978, allocations: 0.9394 MB / 0.6557 GB, free: 4.719 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.499, allocations: 183.9 kB / 0.6558 GB, free: 4.539 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.068e-05/0.499, allocations: 27.98 kB / 0.6559 GB, free: 4.512 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.355e-06/0.4991, allocations: 4 kB / 0.6559 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003211/0.5023, allocations: 1.15 MB / 0.657 GB, free: 3.355 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.5023, allocations: 0 / 0.657 GB, free: 3.355 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.5034, allocations: 330.2 kB / 0.6573 GB, free: 3.031 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/0.5039, allocations: 135.8 kB / 0.6574 GB, free: 2.898 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.5052, allocations: 0.9387 MB / 0.6583 GB, free: 1.934 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.5064, allocations: 159.4 kB / 0.6585 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/0.5065, allocations: 35.98 kB / 0.6585 GB, free: 1.742 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.0005838/0.5071, allocations: 356.5 kB / 0.6589 GB, free: 1.387 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.5072, allocations: 110.6 kB / 0.659 GB, free: 1.277 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/0.51, allocations: 1.217 MB / 0.6602 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.5101, allocations: 8 kB / 0.6602 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.5101, allocations: 0 / 0.6602 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.483e-05/0.5101, allocations: 3.984 kB / 0.6602 GB, free: 52 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/0.5143, allocations: 2.319 MB / 0.6624 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.5143, allocations: 4 kB / 0.6624 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005123/0.5149, allocations: 116 kB / 0.6626 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009635/0.5158, allocations: 312.6 kB / 0.6629 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/0.5159, allocations: 19.98 kB / 0.6629 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.5173, allocations: 0.9717 MB / 0.6638 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.5173, allocations: 8.031 kB / 0.6638 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003201/0.5205, allocations: 1.402 MB / 0.6652 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004931/0.521, allocations: 295.4 kB / 0.6655 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.5211, allocations: 15.94 kB / 0.6655 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008225/0.5219, allocations: 127.8 kB / 0.6656 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.522, allocations: 36.34 kB / 0.6656 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/0.5221, allocations: 23.98 kB / 0.6657 GB, free: 10.26 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008267/0.5229, allocations: 0.6559 MB / 0.6663 GB, free: 9.594 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5229, allocations: 0 / 0.6663 GB, free: 9.594 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001435/0.5244, allocations: 0.5691 MB / 0.6669 GB, free: 9.023 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.003476/0.5278, allocations: 2.049 MB / 0.6689 GB, free: 6.934 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003369/0.5312, allocations: 1.389 MB / 0.6702 GB, free: 5.547 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5313, allocations: 0 / 0.6702 GB, free: 5.547 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.5324, allocations: 488.8 kB / 0.6707 GB, free: 5.062 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.5347, allocations: 0.4961 MB / 0.6712 GB, free: 4.574 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.548, allocations: 6.759 MB / 0.6778 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/0.5486, allocations: 1.066 MB / 0.6788 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001034/0.5497, allocations: 240.5 kB / 0.679 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005409/0.5502, allocations: 419.3 kB / 0.6794 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of SimCode: time 9.12e-07/0.5502, allocations: 0 / 0.6794 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05452/0.6047, allocations: 33.16 MB / 0.7118 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/0.605, allocations: 257.5 kB / 0.7121 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/2.923, allocations: 3.938 kB / 0.7121 GB, free: 10.76 MB / 0.5294 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: