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.0008347/0.0008346, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.005263/0.005263, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.174/1.174, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001621/0.001621, allocations: 267.1 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8428/0.8428, allocations: 169.5 MB / 0.5004 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003694, allocations: 17.28 kB / 0.5988 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 88.54 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.3464/0.4912, allocations: 129.3 MB / 0.8115 GB, free: 23.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02292/0.5141, allocations: 23.08 MB / 0.8341 GB, free: 6.746 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003351/0.5175, allocations: 109.1 kB / 0.8342 GB, free: 6.699 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002473/0.52, allocations: 1.195 MB / 0.8353 GB, free: 5.684 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007545/0.5275, allocations: 3.776 MB / 0.839 GB, free: 2.641 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003651/0.5312, allocations: 1.976 MB / 0.841 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007039/0.5382, allocations: 8.29 MB / 0.8491 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0022/0.5405, allocations: 1.91 MB / 0.8509 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003564/0.544, allocations: 2.295 MB / 0.8532 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.5458, allocations: 1.798 MB / 0.8549 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.546, allocations: 91.28 kB / 0.855 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003223/0.5492, allocations: 1.711 MB / 0.8567 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003558/0.5496, allocations: 449.7 kB / 0.8571 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.5507, allocations: 1.295 MB / 0.8584 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003829/0.5545, allocations: 4.142 MB / 0.8624 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.5545, allocations: 0 / 0.8624 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.143e-06/0.5545, allocations: 0 / 0.8624 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.5546, allocations: 0 / 0.8624 GB, free: 1.441 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.00403/0.5586, allocations: 2.682 MB / 0.865 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.5586, allocations: 12.03 kB / 0.865 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002256/0.5589, allocations: 220 kB / 0.8653 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004051/0.5629, allocations: 0.9535 MB / 0.8662 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/0.5663, allocations: 2.266 MB / 0.8684 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009141/0.5672, allocations: 318.9 kB / 0.8687 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.5674, allocations: 163.9 kB / 0.8689 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003645/0.5711, allocations: 1.993 MB / 0.8708 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.5711, allocations: 0 / 0.8708 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.5713, allocations: 60 kB / 0.8709 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.5713, allocations: 43.94 kB / 0.8709 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0044/0.5757, allocations: 1.913 MB / 0.8728 GB, free: 6.594 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.01018/0.5859, allocations: 9.113 MB / 0.8817 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004092/0.59, allocations: 1.292 MB / 0.8829 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.5911, allocations: 490 kB / 0.8834 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009385/0.592, allocations: 1.719 MB / 0.8851 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.592, allocations: 50.3 kB / 0.8851 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 1.923e-06/0.592, allocations: 0 / 0.8851 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.007933/0.6, allocations: 2.519 MB / 0.8876 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.6, allocations: 85.11 kB / 0.8877 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003215/0.6033, allocations: 2.54 MB / 0.8902 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.58e-05/0.6033, allocations: 45.7 kB / 0.8902 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007609/0.6041, allocations: 1.049 MB / 0.8912 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.6043, allocations: 276.1 kB / 0.8915 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.6044, allocations: 93.67 kB / 0.8916 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.6046, allocations: 341.9 kB / 0.8919 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.6062, allocations: 0.6311 MB / 0.8925 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/0.6082, allocations: 1.009 MB / 0.8935 GB, free: 84 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/0.611, allocations: 1.334 MB / 0.8948 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.611, allocations: 0 / 0.8948 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005935/0.617, allocations: 2.189 MB / 0.8969 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.617, allocations: 8 kB / 0.8969 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.617, allocations: 8 kB / 0.897 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/0.6186, allocations: 0.4973 MB / 0.8974 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.6198, allocations: 307.5 kB / 0.8977 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.6218, allocations: 1.567 MB / 0.8993 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/0.6243, allocations: 483.2 kB / 0.8997 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.6244, allocations: 59.97 kB / 0.8998 GB, free: 9.465 MB / 0.6075 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.0006134/0.625, allocations: 461.5 kB / 0.9002 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/0.6253, allocations: 252.8 kB / 0.9005 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003313/0.6286, allocations: 1.557 MB / 0.902 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.6287, allocations: 19.98 kB / 0.902 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6287, allocations: 0 / 0.902 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.6287, allocations: 7.984 kB / 0.902 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006572/0.6353, allocations: 3.705 MB / 0.9056 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.6353, allocations: 4 kB / 0.9056 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/0.6359, allocations: 140.1 kB / 0.9058 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/0.6374, allocations: 0.4951 MB / 0.9063 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.632e-05/0.6374, allocations: 31.97 kB / 0.9063 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/0.6399, allocations: 1.643 MB / 0.9079 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.6399, allocations: 11.92 kB / 0.9079 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005513/0.6454, allocations: 2.084 MB / 0.9099 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006463/0.6461, allocations: 0.5092 MB / 0.9104 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002471/0.6463, allocations: 16 kB / 0.9104 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/0.648, allocations: 199.7 kB / 0.9106 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.6481, allocations: 56 kB / 0.9107 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.612e-05/0.6482, allocations: 47.95 kB / 0.9107 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002476/0.6507, allocations: 1.789 MB / 0.9125 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6507, allocations: 0 / 0.9125 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001473/0.6521, allocations: 0.6866 MB / 0.9132 GB, free: 11.48 MB / 0.6231 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.006587/0.6587, allocations: 3.121 MB / 0.9162 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00369/0.6624, allocations: 1.432 MB / 0.9176 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6625, allocations: 4 kB / 0.9176 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002229/0.6647, allocations: 0.7293 MB / 0.9183 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006317/0.671, allocations: 1.324 MB / 0.9196 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03703/0.7081, allocations: 20.24 MB / 0.9394 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008726/0.709, allocations: 1.49 MB / 0.9408 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001683/0.7106, allocations: 440.5 kB / 0.9412 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/0.7117, allocations: 0.9093 MB / 0.9421 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of SimCode: time 4.91e-07/0.7117, allocations: 0 / 0.9421 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.123/3.835, allocations: 69.22 MB / 1.01 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/3.835, allocations: 290.6 kB / 1.01 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.489/7.324, allocations: 0 / 1.01 GB, free: 7.562 MB / 0.7169 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)