Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_LimitedCapacity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",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.0009113/0.0009114, allocations: 98.81 kB / 16.02 MB, free: 80 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.001035/0.001035, allocations: 185.5 kB / 16.92 MB, free: 6.754 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.279/1.279, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6322/0.6322, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002801/0.0002802, allocations: 12.48 kB / 495.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1236, allocations: 77.54 MB / 0.56 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.2745/0.3982, allocations: 59.69 MB / 0.6183 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.4139, allocations: 11.92 MB / 0.63 GB, free: 7.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.4154, allocations: 50.12 kB / 0.63 GB, free: 7 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.4169, allocations: 0.5486 MB / 0.6306 GB, free: 6.668 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004345/0.4213, allocations: 1.803 MB / 0.6323 GB, free: 5.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.4238, allocations: 1.078 MB / 0.6334 GB, free: 4.945 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004538/0.4284, allocations: 3.897 MB / 0.6372 GB, free: 2.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.4296, allocations: 0.8968 MB / 0.638 GB, free: 2.199 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.4316, allocations: 1.128 MB / 0.6391 GB, free: 1.543 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009869/0.4326, allocations: 0.8555 MB / 0.64 GB, free: 1.047 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.273e-05/0.4327, allocations: 41.12 kB / 0.64 GB, free: 1.047 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.435, allocations: 1.352 MB / 0.6413 GB, free: 284 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.4352, allocations: 206.8 kB / 0.6415 GB, free: 128 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005666/0.4358, allocations: 0.6301 MB / 0.6422 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.438, allocations: 2.206 MB / 0.6443 GB, free: 14.27 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4381, allocations: 3.938 kB / 0.6443 GB, free: 14.27 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4381, allocations: 0 / 0.6443 GB, free: 14.27 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.4381, allocations: 4 kB / 0.6443 GB, free: 14.27 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002432/0.4405, allocations: 1.485 MB / 0.6458 GB, free: 13.1 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.4406, allocations: 9.844 kB / 0.6458 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.4407, allocations: 127.7 kB / 0.6459 GB, free: 12.99 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.4423, allocations: 385.3 kB / 0.6463 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.4441, allocations: 1.129 MB / 0.6474 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003434/0.4444, allocations: 126 kB / 0.6475 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.4446, allocations: 82.44 kB / 0.6476 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.4463, allocations: 0.9642 MB / 0.6485 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.4463, allocations: 7.188 kB / 0.6485 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.536e-05/0.4464, allocations: 34.64 kB / 0.6485 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.4464, allocations: 24.91 kB / 0.6486 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.4483, allocations: 0.8367 MB / 0.6494 GB, free: 10.81 MB / 478.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.005429/0.4538, allocations: 4.81 MB / 0.6541 GB, free: 5.848 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.4553, allocations: 0.5982 MB / 0.6547 GB, free: 5.242 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006155/0.4559, allocations: 280.6 kB / 0.6549 GB, free: 4.965 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/0.4572, allocations: 1.4 MB / 0.6563 GB, free: 3.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.4573, allocations: 42.5 kB / 0.6563 GB, free: 3.219 MB / 478.1 MB Notification: Performance of pre-optimization done (n=43): time 1.713e-06/0.4573, allocations: 0 / 0.6563 GB, free: 3.219 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.007011/0.4643, allocations: 1.853 MB / 0.6582 GB, free: 1.336 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.4643, allocations: 55.41 kB / 0.6582 GB, free: 1.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.4658, allocations: 1.055 MB / 0.6592 GB, free: 204 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.805e-05/0.4659, allocations: 37.7 kB / 0.6593 GB, free: 160 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000398/0.4663, allocations: 0.5235 MB / 0.6598 GB, free: 15.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.4664, allocations: 149.8 kB / 0.6599 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/0.4665, allocations: 49.69 kB / 0.66 GB, free: 15.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.4666, allocations: 325.9 kB / 0.6603 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007738/0.4673, allocations: 288.9 kB / 0.6606 GB, free: 14.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009064/0.4683, allocations: 0.4895 MB / 0.661 GB, free: 14.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.4697, allocations: 0.6663 MB / 0.6617 GB, free: 13.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.4697, allocations: 4 kB / 0.6617 GB, free: 13.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00234/0.472, allocations: 0.9728 MB / 0.6626 GB, free: 12.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.4722, allocations: 212.2 kB / 0.6628 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4722, allocations: 4 kB / 0.6629 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.4734, allocations: 341.3 kB / 0.6632 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004534/0.4739, allocations: 115.8 kB / 0.6633 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.4754, allocations: 0.936 MB / 0.6642 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.4766, allocations: 184.7 kB / 0.6644 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/0.4767, allocations: 27.98 kB / 0.6644 GB, free: 10.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.4767, allocations: 4 kB / 0.6644 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002147/0.4788, allocations: 0.8472 MB / 0.6652 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4788, allocations: 4 kB / 0.6652 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.4799, allocations: 329.8 kB / 0.6656 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/0.4804, allocations: 111.8 kB / 0.6657 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.4818, allocations: 0.9367 MB / 0.6666 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000997/0.4828, allocations: 159.3 kB / 0.6667 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.4829, allocations: 27.98 kB / 0.6668 GB, free: 8.215 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004539/0.4833, allocations: 349 kB / 0.6671 GB, free: 7.863 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.4835, allocations: 110.7 kB / 0.6672 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002967/0.4865, allocations: 1.073 MB / 0.6682 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.4865, allocations: 11.92 kB / 0.6683 GB, free: 6.664 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4865, allocations: 4 kB / 0.6683 GB, free: 6.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4865, allocations: 4 kB / 0.6683 GB, free: 6.656 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004895/0.4914, allocations: 2.173 MB / 0.6704 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.4914, allocations: 4 kB / 0.6704 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.4916, allocations: 55.91 kB / 0.6704 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009914/0.4926, allocations: 330.9 kB / 0.6708 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.4927, allocations: 19.98 kB / 0.6708 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.4941, allocations: 0.9582 MB / 0.6717 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4942, allocations: 7.984 kB / 0.6717 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003699/0.4979, allocations: 1.191 MB / 0.6729 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/0.4982, allocations: 275.4 kB / 0.6731 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.4984, allocations: 19.98 kB / 0.6732 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008283/0.4992, allocations: 95.91 kB / 0.6733 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.4993, allocations: 43.83 kB / 0.6733 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.4993, allocations: 15.98 kB / 0.6733 GB, free: 1.305 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001075/0.5004, allocations: 0.7469 MB / 0.674 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5004, allocations: 3.938 kB / 0.674 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001483/0.5019, allocations: 0.5692 MB / 0.6746 GB, free: 15.97 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004262/0.5062, allocations: 2.034 MB / 0.6766 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002596/0.5088, allocations: 1.059 MB / 0.6776 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5088, allocations: 0 / 0.6776 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007325/0.5096, allocations: 335.2 kB / 0.6779 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/0.5122, allocations: 0.4923 MB / 0.6784 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.5271, allocations: 8.756 MB / 0.687 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005599/0.5277, allocations: 1.065 MB / 0.688 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008086/0.5285, allocations: 215.6 kB / 0.6882 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004649/0.529, allocations: 411.3 kB / 0.6886 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.529, allocations: 0 / 0.6886 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2437/0.7727, allocations: 32.24 MB / 0.7201 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.7729, allocations: 285.3 kB / 0.7204 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.62/3.393, allocations: 0 / 0.7204 GB, free: 0.9961 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)