Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_8_Buildings_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.001054/0.001054, allocations: 108 kB / 15.6 MB, free: 132 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.001143/0.001143, allocations: 198.2 kB / 16.54 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 75.84 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2665, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.6097/0.8762, allocations: 132.3 MB / 0.9126 GB, free: 44.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0303/0.9065, allocations: 23.03 MB / 0.9351 GB, free: 44.56 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005466/0.9121, allocations: 121.2 kB / 0.9352 GB, free: 44.56 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00507/0.9172, allocations: 1.493 MB / 0.9367 GB, free: 44.54 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01512/0.9324, allocations: 4.064 MB / 0.9407 GB, free: 44.39 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007161/0.9396, allocations: 2.18 MB / 0.9428 GB, free: 44.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01064/0.9502, allocations: 6.494 MB / 0.9491 GB, free: 42.33 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004505/0.9547, allocations: 2.357 MB / 0.9514 GB, free: 41.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007674/0.9625, allocations: 2.761 MB / 0.9541 GB, free: 40.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005184/0.9677, allocations: 1.881 MB / 0.956 GB, free: 39.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009941/0.9687, allocations: 249.9 kB / 0.9562 GB, free: 39.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006731/0.9754, allocations: 1.942 MB / 0.9581 GB, free: 38.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008786/0.9763, allocations: 0.5934 MB / 0.9587 GB, free: 38.28 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003229/0.9796, allocations: 1.465 MB / 0.9601 GB, free: 37.37 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.9904, allocations: 4.352 MB / 0.9644 GB, free: 35.88 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.9905, allocations: 0 / 0.9644 GB, free: 35.88 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.036e-06/0.9905, allocations: 0 / 0.9644 GB, free: 35.88 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001493/0.9907, allocations: 0 / 0.9644 GB, free: 35.88 MB / 0.7169 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.007061/0.9977, allocations: 3.188 MB / 0.9675 GB, free: 33.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.9978, allocations: 14.3 kB / 0.9675 GB, free: 33.72 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002257/0.998, allocations: 218.4 kB / 0.9677 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0045/1.003, allocations: 0.8452 MB / 0.9685 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004035/1.007, allocations: 2.21 MB / 0.9707 GB, free: 31.49 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009463/1.008, allocations: 289.4 kB / 0.971 GB, free: 31.38 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002772/1.008, allocations: 164.3 kB / 0.9711 GB, free: 31.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003976/1.012, allocations: 1.935 MB / 0.973 GB, free: 30.14 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/1.012, allocations: 0 / 0.973 GB, free: 30.14 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/1.012, allocations: 68.41 kB / 0.9731 GB, free: 30.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.038e-05/1.012, allocations: 40.34 kB / 0.9731 GB, free: 30.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004633/1.017, allocations: 1.827 MB / 0.9749 GB, free: 29.19 MB / 0.7169 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.01156/1.028, allocations: 9.102 MB / 0.9838 GB, free: 21.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004178/1.032, allocations: 1.195 MB / 0.9849 GB, free: 20.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/1.034, allocations: 468.6 kB / 0.9854 GB, free: 20.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007774/1.034, allocations: 1.722 MB / 0.9871 GB, free: 18.55 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/1.034, allocations: 49.08 kB / 0.9871 GB, free: 18.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 3.387e-06/1.034, allocations: 5.781 kB / 0.9871 GB, free: 18.49 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.009064/1.043, allocations: 2.335 MB / 0.9894 GB, free: 17.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/1.044, allocations: 84.42 kB / 0.9895 GB, free: 17.14 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004054/1.048, allocations: 2.541 MB / 0.992 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001937/1.048, allocations: 45.3 kB / 0.992 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007698/1.049, allocations: 1.046 MB / 0.993 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/1.049, allocations: 273.5 kB / 0.9933 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004227/1.049, allocations: 256.2 kB / 0.9935 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.624e-05/1.049, allocations: 356.7 kB / 0.9939 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/1.051, allocations: 0.5809 MB / 0.9944 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/1.053, allocations: 0.9736 MB / 0.9954 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00325/1.057, allocations: 1.257 MB / 0.9966 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/1.057, allocations: 2.656 kB / 0.9966 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006525/1.063, allocations: 2.054 MB / 0.9986 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.063, allocations: 8 kB / 0.9986 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.063, allocations: 8 kB / 0.9986 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/1.065, allocations: 0.4899 MB / 0.9991 GB, free: 9.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/1.066, allocations: 283.6 kB / 0.9994 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/1.068, allocations: 1.517 MB / 1.001 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003453/1.072, allocations: 397.9 kB / 1.001 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002327/1.072, allocations: 59.97 kB / 1.001 GB, free: 7.398 MB / 0.7169 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.000906/1.073, allocations: 473.2 kB / 1.002 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005949/1.073, allocations: 252.8 kB / 1.002 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003387/1.077, allocations: 1.498 MB / 1.003 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/1.077, allocations: 8.094 kB / 1.003 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.077, allocations: 3.938 kB / 1.003 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/1.077, allocations: 3.984 kB / 1.003 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007203/1.084, allocations: 3.636 MB / 1.007 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/1.084, allocations: 4 kB / 1.007 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005815/1.085, allocations: 132.1 kB / 1.007 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001712/1.086, allocations: 489.1 kB / 1.008 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.023e-05/1.087, allocations: 23.98 kB / 1.008 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002716/1.089, allocations: 1.591 MB / 1.009 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/1.089, allocations: 4 kB / 1.009 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006731/1.096, allocations: 1.935 MB / 1.011 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.098, allocations: 489.5 kB / 1.012 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004971/1.098, allocations: 20 kB / 1.012 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001929/1.1, allocations: 143.8 kB / 1.012 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.1, allocations: 63.86 kB / 1.012 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/1.1, allocations: 39.97 kB / 1.012 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003368/1.104, allocations: 1.789 MB / 1.014 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.954e-06/1.104, allocations: 4 kB / 1.014 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002784/1.106, allocations: 0.6982 MB / 1.014 GB, free: 9.902 MB / 0.7325 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.008541/1.115, allocations: 2.992 MB / 1.017 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00521/1.12, allocations: 1.4 MB / 1.019 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/1.12, allocations: 7.938 kB / 1.019 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002539/1.123, allocations: 0.6725 MB / 1.019 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007828/1.131, allocations: 1.361 MB / 1.021 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03846/1.169, allocations: 19.24 MB / 1.039 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/1.17, allocations: 1.482 MB / 1.041 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002395/1.173, allocations: 440.3 kB / 1.041 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/1.174, allocations: 0.9015 MB / 1.042 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of SimCode: time 1.323e-06/1.174, allocations: 4 kB / 1.042 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1194/1.293, allocations: 68.97 MB / 1.109 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.53, allocations: 15.39 kB / 1.109 GB, free: 7.902 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)