Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.001409/0.001413, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001677/0.001677, allocations: 192.1 kB / 16.26 MB, free: 6.621 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.277/1.277, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001905/0.001905, allocations: 290.8 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9136/0.9136, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 98.19 kB / 0.5948 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1276, allocations: 86.98 MB / 0.6797 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.3394/0.467, allocations: 131 MB / 0.8077 GB, free: 33.35 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02245/0.4895, allocations: 23.07 MB / 0.8302 GB, free: 25.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003645/0.4932, allocations: 111.2 kB / 0.8303 GB, free: 25.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003069/0.4963, allocations: 1.284 MB / 0.8316 GB, free: 24.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008534/0.5049, allocations: 3.831 MB / 0.8353 GB, free: 22.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004157/0.509, allocations: 1.976 MB / 0.8372 GB, free: 21.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006464/0.5155, allocations: 6.587 MB / 0.8437 GB, free: 17.81 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002612/0.5181, allocations: 2.355 MB / 0.846 GB, free: 16.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004921/0.5231, allocations: 2.763 MB / 0.8487 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002537/0.5256, allocations: 1.937 MB / 0.8506 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005253/0.5261, allocations: 246.8 kB / 0.8508 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003776/0.5299, allocations: 1.964 MB / 0.8527 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005925/0.5305, allocations: 0.6067 MB / 0.8533 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001667/0.5322, allocations: 1.462 MB / 0.8547 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004108/0.5363, allocations: 4.354 MB / 0.859 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5363, allocations: 0 / 0.859 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5363, allocations: 3.938 kB / 0.859 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.689e-05/0.5364, allocations: 0 / 0.859 GB, free: 7.965 MB / 0.5606 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.003898/0.5403, allocations: 3.188 MB / 0.8621 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.5403, allocations: 14.77 kB / 0.8621 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/0.5405, allocations: 217.5 kB / 0.8623 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003804/0.5443, allocations: 0.8375 MB / 0.8631 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002837/0.5472, allocations: 2.258 MB / 0.8653 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007864/0.548, allocations: 297.7 kB / 0.8656 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.5481, allocations: 160 kB / 0.8658 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003054/0.5512, allocations: 1.938 MB / 0.8677 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.5512, allocations: 0 / 0.8677 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.5514, allocations: 68 kB / 0.8677 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.5514, allocations: 36 kB / 0.8678 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00398/0.5554, allocations: 1.835 MB / 0.8696 GB, free: 14.93 MB / 0.5762 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.01043/0.5658, allocations: 9.026 MB / 0.8784 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003846/0.5697, allocations: 1.196 MB / 0.8795 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009537/0.5706, allocations: 462 kB / 0.88 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00094/0.5716, allocations: 1.719 MB / 0.8817 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.5716, allocations: 50.25 kB / 0.8817 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 1.914e-06/0.5716, allocations: 0 / 0.8817 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.007522/0.5792, allocations: 2.336 MB / 0.884 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.5792, allocations: 89.09 kB / 0.8841 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003276/0.5825, allocations: 2.516 MB / 0.8865 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.98e-05/0.5826, allocations: 45.7 kB / 0.8866 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007304/0.5833, allocations: 1.053 MB / 0.8876 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.5836, allocations: 268.2 kB / 0.8879 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003759/0.5839, allocations: 258.6 kB / 0.8881 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.584, allocations: 345.9 kB / 0.8884 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.5856, allocations: 0.5842 MB / 0.889 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/0.5874, allocations: 0.9699 MB / 0.89 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002636/0.5901, allocations: 1.268 MB / 0.8912 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.5901, allocations: 4 kB / 0.8912 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00574/0.5959, allocations: 2.048 MB / 0.8932 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.5959, allocations: 8 kB / 0.8932 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5959, allocations: 8 kB / 0.8932 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00161/0.5975, allocations: 0.4898 MB / 0.8937 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.5986, allocations: 283.6 kB / 0.894 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.6005, allocations: 1.517 MB / 0.8954 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/0.6032, allocations: 446 kB / 0.8959 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.6033, allocations: 55.97 kB / 0.8959 GB, free: 2.477 MB / 0.5919 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000692/0.604, allocations: 469.5 kB / 0.8964 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004113/0.6044, allocations: 248.9 kB / 0.8966 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003213/0.6076, allocations: 1.51 MB / 0.8981 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.6077, allocations: 15.98 kB / 0.8981 GB, free: 236 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6077, allocations: 0 / 0.8981 GB, free: 236 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.6077, allocations: 3.984 kB / 0.8981 GB, free: 232 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006626/0.6143, allocations: 3.607 MB / 0.9016 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.6144, allocations: 4 kB / 0.9016 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005696/0.6149, allocations: 136.1 kB / 0.9018 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/0.6164, allocations: 482.9 kB / 0.9022 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/0.6165, allocations: 31.97 kB / 0.9022 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/0.6188, allocations: 1.585 MB / 0.9038 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.6188, allocations: 4 kB / 0.9038 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005268/0.624, allocations: 1.943 MB / 0.9057 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008434/0.6249, allocations: 493.5 kB / 0.9062 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003949/0.6253, allocations: 23.94 kB / 0.9062 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/0.627, allocations: 171.7 kB / 0.9064 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.291e-05/0.6271, allocations: 59.86 kB / 0.9064 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/0.6272, allocations: 39.97 kB / 0.9064 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002597/0.6298, allocations: 1.769 MB / 0.9082 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6298, allocations: 0 / 0.9082 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0017/0.6315, allocations: 0.6828 MB / 0.9088 GB, free: 4.969 MB / 0.6075 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006316/0.6378, allocations: 2.974 MB / 0.9117 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003731/0.6416, allocations: 1.392 MB / 0.9131 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6416, allocations: 0 / 0.9131 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.6437, allocations: 0.6675 MB / 0.9138 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005244/0.649, allocations: 1.348 MB / 0.9151 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03834/0.6873, allocations: 19.81 MB / 0.9344 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.6883, allocations: 1.493 MB / 0.9359 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001913/0.6903, allocations: 434.9 kB / 0.9363 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.6914, allocations: 0.8976 MB / 0.9372 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/0.6914, allocations: 0 / 0.9372 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.628/2.319, allocations: 67.72 MB / 1.003 GB, free: 3.645 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003935/2.32, allocations: 295.4 kB / 1.004 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.832/9.152, allocations: 64 / 1.004 GB, free: 3.262 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)