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.0009254/0.0009255, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005424/0.005424, allocations: 168.5 kB / 16.26 MB, free: 6.648 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.346/1.346, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.662/1.662, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005293/0.0005294, allocations: 12.97 kB / 0.6744 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1987, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4886/0.6873, allocations: 129.4 MB / 0.9143 GB, free: 32.54 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0241/0.7115, allocations: 22.89 MB / 0.9367 GB, free: 32.19 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003617/0.7151, allocations: 103.9 kB / 0.9368 GB, free: 32.19 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002892/0.718, allocations: 1.205 MB / 0.938 GB, free: 32.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00919/0.7272, allocations: 3.746 MB / 0.9416 GB, free: 32.01 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004369/0.7316, allocations: 1.996 MB / 0.9436 GB, free: 31.96 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009212/0.7408, allocations: 8.254 MB / 0.9516 GB, free: 31.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002525/0.7434, allocations: 1.893 MB / 0.9535 GB, free: 30.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004114/0.7475, allocations: 2.303 MB / 0.9557 GB, free: 30.31 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.7496, allocations: 1.796 MB / 0.9575 GB, free: 29.87 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002162/0.7498, allocations: 91.19 kB / 0.9576 GB, free: 29.87 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003591/0.7534, allocations: 1.718 MB / 0.9593 GB, free: 29.69 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003661/0.7538, allocations: 448.7 kB / 0.9597 GB, free: 29.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.755, allocations: 1.297 MB / 0.9609 GB, free: 29.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003994/0.759, allocations: 4.155 MB / 0.965 GB, free: 27.89 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.759, allocations: 0 / 0.965 GB, free: 27.89 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.759, allocations: 0 / 0.965 GB, free: 27.89 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.312e-05/0.759, allocations: 0 / 0.965 GB, free: 27.89 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.003817/0.7628, allocations: 2.693 MB / 0.9676 GB, free: 25.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.7629, allocations: 9.156 kB / 0.9676 GB, free: 25.91 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002043/0.7631, allocations: 218.3 kB / 0.9679 GB, free: 25.74 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004055/0.7672, allocations: 0.956 MB / 0.9688 GB, free: 25.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003055/0.7702, allocations: 2.275 MB / 0.971 GB, free: 23.63 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008859/0.7711, allocations: 328.4 kB / 0.9713 GB, free: 23.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.7713, allocations: 156.1 kB / 0.9715 GB, free: 23.46 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003349/0.7747, allocations: 1.98 MB / 0.9734 GB, free: 22.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.7747, allocations: 3.938 kB / 0.9734 GB, free: 22.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.7749, allocations: 63.06 kB / 0.9735 GB, free: 22.22 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.7749, allocations: 40.41 kB / 0.9735 GB, free: 22.21 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004136/0.779, allocations: 1.915 MB / 0.9754 GB, free: 21.3 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.008823/0.7879, allocations: 9.129 MB / 0.9843 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003919/0.7918, allocations: 1.284 MB / 0.9855 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009611/0.7928, allocations: 486.3 kB / 0.986 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006515/0.7934, allocations: 1.724 MB / 0.9877 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.7935, allocations: 47.2 kB / 0.9877 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.495e-06/0.7935, allocations: 4 kB / 0.9877 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008447/0.8019, allocations: 2.523 MB / 0.9902 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.802, allocations: 85.48 kB / 0.9903 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003122/0.8051, allocations: 2.539 MB / 0.9928 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.778e-05/0.8052, allocations: 51.2 kB / 0.9928 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007049/0.8059, allocations: 1.052 MB / 0.9938 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.8061, allocations: 271 kB / 0.9941 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.8063, allocations: 86.92 kB / 0.9942 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.8063, allocations: 347.8 kB / 0.9945 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.808, allocations: 0.6328 MB / 0.9951 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.8099, allocations: 1.02 MB / 0.9961 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002742/0.8126, allocations: 1.324 MB / 0.9974 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.8127, allocations: 0 / 0.9974 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005906/0.8186, allocations: 2.196 MB / 0.9996 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.8186, allocations: 9.031 kB / 0.9996 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.8186, allocations: 6.375 kB / 0.9996 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/0.8202, allocations: 0.5041 MB / 1 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.8214, allocations: 305.3 kB / 1 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.8232, allocations: 1.563 MB / 1.002 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/0.8261, allocations: 484.7 kB / 1.002 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.8262, allocations: 67.95 kB / 1.002 GB, free: 1.156 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.0007194/0.8269, allocations: 461.5 kB / 1.003 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/0.8272, allocations: 244.9 kB / 1.003 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003447/0.8307, allocations: 1.545 MB / 1.005 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/0.8307, allocations: 23.92 kB / 1.005 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8307, allocations: 4 kB / 1.005 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.8307, allocations: 4.078 kB / 1.005 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007227/0.838, allocations: 3.706 MB / 1.008 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.838, allocations: 12.03 kB / 1.008 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/0.8386, allocations: 131.8 kB / 1.008 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/0.8403, allocations: 0.501 MB / 1.009 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/0.8403, allocations: 27.97 kB / 1.009 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002586/0.8429, allocations: 1.65 MB / 1.011 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.8429, allocations: 4 kB / 1.011 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00592/0.8489, allocations: 2.076 MB / 1.013 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009065/0.8498, allocations: 0.5131 MB / 1.013 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/0.8501, allocations: 19.98 kB / 1.013 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/0.8519, allocations: 195.7 kB / 1.013 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.242e-05/0.852, allocations: 59.81 kB / 1.013 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.41e-05/0.8521, allocations: 43.95 kB / 1.013 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003021/0.8551, allocations: 1.789 MB / 1.015 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8551, allocations: 4 kB / 1.015 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0021/0.8572, allocations: 0.6789 MB / 1.016 GB, free: 3.242 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.007247/0.8645, allocations: 3.131 MB / 1.019 GB, free: 120 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004139/0.8687, allocations: 1.444 MB / 1.02 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.8687, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002391/0.8711, allocations: 0.741 MB / 1.021 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007093/0.8782, allocations: 1.341 MB / 1.022 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04143/0.9196, allocations: 20.22 MB / 1.042 GB, free: 7.004 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009726/0.9206, allocations: 1.494 MB / 1.043 GB, free: 5.477 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001967/0.9226, allocations: 448.2 kB / 1.044 GB, free: 5.039 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/0.9238, allocations: 0.9132 MB / 1.045 GB, free: 4.125 MB / 0.7637 GB Notification: Performance of SimCode: time 6.81e-07/0.9238, allocations: 0 / 1.045 GB, free: 4.125 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4915/1.415, allocations: 69.63 MB / 1.113 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/1.416, allocations: 271.3 kB / 1.113 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.927/5.343, allocations: 8 kB / 1.113 GB, free: 15.05 MB / 0.8419 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)